ArcGIS Pro 2.6 API Reference Guide
MultipartBuilder<T> Class Members
Properties  Methods 


ArcGIS.Core.Geometry Namespace : MultipartBuilder<T> Class

The following tables list the members exposed by MultipartBuilder<T>.

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.  
Public PropertyGets the GeometryType. (Inherited from ArcGIS.Core.Geometry.GeometryBuilder<T>)
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<T>)
Public Property Gets or sets the HasM flag of the instance. This indicates whether the geometry contains Ms. (Inherited from ArcGIS.Core.Geometry.GeometryBuilder<T>)
Public Property Gets or sets the HasZ flag of the instance. This indicates whether the geometry contains Zs. (Inherited from ArcGIS.Core.Geometry.GeometryBuilder<T>)
Public Property Gets if the instance is an empty geometry. (Inherited from ArcGIS.Core.Geometry.GeometryBuilder<T>)
Public PropertyGets or sets the SpatialReference for the geometry being built. (Inherited from ArcGIS.Core.Geometry.GeometryBuilder<T>)
Top
Public Methods
 NameDescription
Public MethodOverloaded.   
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.  
Public MethodOverloaded.   
Public Method Gets the count of segments for the specified part. This method must be called on the MCT. Use QueuedTask.Run.  
Public Method (Inherited from ArcGIS.Core.CoreObjectsBase)
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.  
Public MethodOverloaded.   
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.  
Public MethodOverloaded.   
Public MethodRemove the part specified by partIndex. This method must be called on the MCT. Use QueuedTask.Run.  
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.

 
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.  
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<T>)
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.  
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.  
Public Method (Inherited from ArcGIS.Core.Geometry.GeometryBuilder<T>)
Top
See Also

Reference

MultipartBuilder<T> Class
ArcGIS.Core.Geometry Namespace