ArcGIS Pro 2.7 API Reference Guide
PolygonBuilder Class Members
Properties  Methods 


ArcGIS.Core.Geometry Namespace : PolygonBuilder Class

The following tables list the members exposed by PolygonBuilder.

Public Constructors
 NameDescription
Public ConstructorOverloaded.   
Top
Public Properties
 NameDescription
Public Property Gets the number of parts contained in the Multipart. This method must be called on the MCT. Use QueuedTask.Run. (Inherited from ArcGIS.Core.Geometry.MultipartBuilder<Polygon>)
Public PropertyOverridden. Gets the geometry type. Always returns GeometryType.Polygon.  
Public Property Gets the opaque handle to the underlying native object. (Inherited from ArcGIS.Core.CoreObjectsBase)
Public Property Gets or sets the HasID flag of the instance. (Inherited from ArcGIS.Core.Geometry.GeometryBuilder<Polygon>)
Public Property Gets or sets the HasM flag of the instance. This indicates whether the geometry contains Ms. (Inherited from ArcGIS.Core.Geometry.GeometryBuilder<Polygon>)
Public Property Gets or sets the HasZ flag of the instance. This indicates whether the geometry contains Zs. (Inherited from ArcGIS.Core.Geometry.GeometryBuilder<Polygon>)
Public Property Gets if the instance is an empty geometry. (Inherited from ArcGIS.Core.Geometry.GeometryBuilder<Polygon>)
Public PropertyGets or sets the SpatialReference for the geometry being built. (Inherited from ArcGIS.Core.Geometry.GeometryBuilder<Polygon>)
Top
Public Methods
 NameDescription
Public MethodOverloaded.  (Inherited from ArcGIS.Core.Geometry.MultipartBuilder<Polygon>)
Public Method Adds the parts constructed from the set of enumeration of line segments to the MultipartBuilder. This method must be called on the MCT. Use QueuedTask.Run. (Inherited from ArcGIS.Core.Geometry.MultipartBuilder<Polygon>)
Public MethodOverloaded.  (Inherited from ArcGIS.Core.Geometry.MultipartBuilder<Polygon>)
Public Method Returns a clone of the builder. This method must be called on the MCT. Use QueuedTask.Run.  
Public Method Gets the count of segments for the specified part. This method must be called on the MCT. Use QueuedTask.Run. (Inherited from ArcGIS.Core.Geometry.MultipartBuilder<Polygon>)
Public Methodstatic (Shared in Visual Basic)Overloaded.   
Public Method (Inherited from ArcGIS.Core.CoreObjectsBase)
Public Methodstatic (Shared in Visual Basic)Creates a new instance of a Polygon class from an Esri shape buffer.  
Public Methodstatic (Shared in Visual Basic)Creates a new instance of a Polygon class from a JSON string representation.  
Public Methodstatic (Shared in Visual Basic)Creates a new instance of a Polygon class from an XML string representation.  
Public MethodGet a SegmentBuilder for the segment at the specified index on the specified part of the MultipartBuilder. This method must be called on the MCT. Use QueuedTask.Run. (Inherited from ArcGIS.Core.Geometry.MultipartBuilder<Polygon>)
Public MethodOverloaded.  (Inherited from ArcGIS.Core.Geometry.MultipartBuilder<Polygon>)
Public Method Insert the parts constructed from the set of enumeration of line segments to the MultipartBuilder before the specified index. This method must be called on the MCT. Use QueuedTask.Run. (Inherited from ArcGIS.Core.Geometry.MultipartBuilder<Polygon>)
Public MethodOverloaded.  (Inherited from ArcGIS.Core.Geometry.MultipartBuilder<Polygon>)
Public MethodRemove the part specified by partIndex. This method must be called on the MCT. Use QueuedTask.Run. (Inherited from ArcGIS.Core.Geometry.MultipartBuilder<Polygon>)
Public MethodRemove the segment at the specified index from the part specified by partIndex. There is no return value. This method must be called on the MCT. Use QueuedTask.Run.

Note: a value of partIndex=-1, segmentIndex=-1 removes the last segment from the last part of the multipart. All other combinations should be self-explanatory.

(Inherited from ArcGIS.Core.Geometry.MultipartBuilder<Polygon>)
Public Method Changes the direction of the MultipartBuilder parts without changing the spatial position of the parts. The From Point and To Point of each Segment in each part of the MultipartBuilder are interchanged. This method must be called on the MCT. Use QueuedTask.Run. (Inherited from ArcGIS.Core.Geometry.MultipartBuilder<Polygon>)
Public Method Sets the geometry of this builder to empty. This method must be called on the MCT. Use QueuedTask.Run. (Inherited from ArcGIS.Core.Geometry.GeometryBuilder<Polygon>)
Public MethodIntroduces a new vertex into the last part of this polyline at a specified distance from the beginning of the polyline. For a split to happen, the split distance must be between the From and To points of the polycurve. This method must be called on the MCT. Use QueuedTask.Run. (Inherited from ArcGIS.Core.Geometry.MultipartBuilder<Polygon>)
Public MethodIntroduces a new vertex point to the part specified by partIndex at a specified distance from the From point of the curve. For a split to happen, the split distance must be between the From and To points of the part. This method must be called on the MCT. Use QueuedTask.Run. (Inherited from ArcGIS.Core.Geometry.MultipartBuilder<Polygon>)
Public MethodOverridden. Returns a Polygon instance representing the current state of the builder. This method must be called on the MCT. Use QueuedTask.Run.  
Top
Protected Methods
See Also

Reference

PolygonBuilder Class
ArcGIS.Core.Geometry Namespace