Method StartAsync
StartAsync(SketchCreationMode, Boolean)
Starts to draw geometry based on specified Sketch
Declaration
public Task<Geometry> StartAsync(SketchCreationMode creationMode, bool drawAndEdit = true)
Parameters
Type | Name | Description |
---|---|---|
Sketch |
creationMode | Determines the type of geometry and how it will be created. |
Boolean | drawAndEdit | Optional parameter that indicates whether to proceed to edit. If false, sketch will complete once drawn. |
Returns
Type | Description |
---|---|
System. |
A task that represents the asynchronous sketching of geometry. The value of the task result is a Geometry object. |
Remarks
Each time one of the StartAsync methods is called on the Sketch
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 100.15 |
.NET 6.0 | 100.13 - 100.15 |
.NET 6.0 Windows | 100.13 - 100.15 |
.NET Framework | 100.0 - 100.15 |
.NET 5 | 100.10 - 100.12 |
.NET Core 3.1 | 100.7 - 100.12 |
Xamarin.Android | 100.0 - 100.15 |
Xamarin.iOS | 100.0 - 100.15 |
UWP | 100.0 - 100.15 |
Relevant samples
StartAsync(SketchCreationMode, SketchEditConfiguration)
Starts to draw geometry based on specified Sketch
Declaration
public Task<Geometry> StartAsync(SketchCreationMode creationMode, SketchEditConfiguration editConfiguration)
Parameters
Type | Name | Description |
---|---|---|
Sketch |
creationMode | Determines the type of geometry and how it will be created. |
Sketch |
editConfiguration | Defines which edit capabilities will be enabled. |
Returns
Type | Description |
---|---|
System. |
A task that represents the asynchronous sketching of geometry. The value of the task result is a Geometry object. |
Remarks
Each time one of the StartAsync methods is called on the Sketch
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 100.15 |
.NET 6.0 | 100.13 - 100.15 |
.NET 6.0 Windows | 100.13 - 100.15 |
.NET Framework | 100.0 - 100.15 |
.NET 5 | 100.10 - 100.12 |
.NET Core 3.1 | 100.7 - 100.12 |
Xamarin.Android | 100.0 - 100.15 |
Xamarin.iOS | 100.0 - 100.15 |
UWP | 100.0 - 100.15 |
StartAsync(Geometry)
Starts to edit Geometry based on the Sketch
Declaration
public Task<Geometry> StartAsync(Geometry geometry)
Parameters
Type | Name | Description |
---|---|---|
Geometry | geometry | The geometry to edit. |
Returns
Type | Description |
---|---|
System. |
A task that represents the asynchronous sketching of geometry. The value of the task result is a Geometry object. |
Remarks
Each time one of the StartAsync methods is called on the Sketch
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 100.15 |
.NET 6.0 | 100.13 - 100.15 |
.NET 6.0 Windows | 100.13 - 100.15 |
.NET Framework | 100.0 - 100.15 |
.NET 5 | 100.10 - 100.12 |
.NET Core 3.1 | 100.7 - 100.12 |
Xamarin.Android | 100.0 - 100.15 |
Xamarin.iOS | 100.0 - 100.15 |
UWP | 100.0 - 100.15 |
Relevant samples
StartAsync(Geometry, SketchCreationMode)
Starts to edit Geometry based on specified Sketch
Declaration
public Task<Geometry> StartAsync(Geometry geometry, SketchCreationMode creationMode)
Parameters
Type | Name | Description |
---|---|---|
Geometry | geometry | The geometry to edit. |
Sketch |
creationMode | Determines how geometry will be modified. |
Returns
Type | Description |
---|---|
System. |
A task that represents the asynchronous sketching of geometry. The value of the task result is a Geometry object. |
Remarks
Each time one of the StartAsync methods is called on the Sketch
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 100.15 |
.NET 6.0 | 100.13 - 100.15 |
.NET 6.0 Windows | 100.13 - 100.15 |
.NET Framework | 100.0 - 100.15 |
.NET 5 | 100.10 - 100.12 |
.NET Core 3.1 | 100.7 - 100.12 |
Xamarin.Android | 100.0 - 100.15 |
Xamarin.iOS | 100.0 - 100.15 |
UWP | 100.0 - 100.15 |
StartAsync(Geometry, SketchCreationMode, SketchEditConfiguration)
Starts to edit Geometry based on specified Sketch
Declaration
public Task<Geometry> StartAsync(Geometry geometry, SketchCreationMode creationMode, SketchEditConfiguration editConfiguration)
Parameters
Type | Name | Description |
---|---|---|
Geometry | geometry | The geometry to edit. |
Sketch |
creationMode | Determines how geometry will be modified. |
Sketch |
editConfiguration | Defines which edit capabilities will be enabled. |
Returns
Type | Description |
---|---|
System. |
A task that represents the asynchronous sketching of geometry. The value of the task result is a Geometry object. |
Remarks
Each time one of the StartAsync methods is called on the Sketch
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 100.15 |
.NET 6.0 | 100.13 - 100.15 |
.NET 6.0 Windows | 100.13 - 100.15 |
.NET Framework | 100.0 - 100.15 |
.NET 5 | 100.10 - 100.12 |
.NET Core 3.1 | 100.7 - 100.12 |
Xamarin.Android | 100.0 - 100.15 |
Xamarin.iOS | 100.0 - 100.15 |
UWP | 100.0 - 100.15 |