Property AllowPartCreation
AllowPartCreation
Gets or sets a value indicating whether you can interactively create a new part in a polyline or polygon. Default is true
.
Declaration
public bool AllowPartCreation { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
Remarks
If true
and the GeometryType of the Geometry is a polygon or polyline, you can you
can add new parts to the Multipart geometry - the Tool determines the interaction
required to add the new part. If the GeometryType of the Geometry is a point or
multipoint, this property is ignored.
Users less experienced with GIS data may not understand how visually separate parts of polygons and polylines form a single geometry. You may wish to prevent such users from inadvertently creating geometries with multiple parts in order to keep their workflows straightforward and understandable. Alternatively, your app may be editing data which does not support multipart geometries.
SetAllowCreation(Boolean) sets this property.
See Also
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 200.3 - 200.5 |
.NET | 200.3 - 200.5 |
.NET Windows | 200.3 - 200.5 |
.NET Android | 200.3 - 200.5 |
.NET iOS | 200.3 - 200.5 |
.NET Framework | 200.3 - 200.5 |
UWP | 200.3 - 200.5 |