Show / Hide Table of Contents

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

true if you can interactively create a new part in a polyline or polygon, false otherwise. Default is true.

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
ReplaceGeometry(Geometry)
AllowVertexCreation

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0200.3 - 200.7
.NET200.3 - 200.7
.NET Windows200.3 - 200.7
.NET Android200.3 - 200.7
.NET iOS200.3 - 200.7
.NET Framework200.3 - 200.7
UWP200.3 - 200.7
In This Article
Back to top Copyright © 2022 Esri.