ArcGIS Pro 2.6 API Reference Guide
PolylineBuilder Class Members
Properties  Methods 


ArcGIS.Core.Geometry Namespace : PolylineBuilder Class

The following tables list the members exposed by PolylineBuilder.

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<Polyline>)
Public PropertyOverridden. Gets the geometry type. Always returns GeometryType.Polyline.  
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<Polyline>)
Public Property Gets or sets the HasM flag of the instance. This indicates whether the geometry contains Ms. (Inherited from ArcGIS.Core.Geometry.GeometryBuilder<Polyline>)
Public Property Gets or sets the HasZ flag of the instance. This indicates whether the geometry contains Zs. (Inherited from ArcGIS.Core.Geometry.GeometryBuilder<Polyline>)
Public Property Gets if the instance is an empty geometry. (Inherited from ArcGIS.Core.Geometry.GeometryBuilder<Polyline>)
Public PropertyGets or sets the SpatialReference for the geometry being built. (Inherited from ArcGIS.Core.Geometry.GeometryBuilder<Polyline>)
Top
Public Methods
 NameDescription
Public MethodOverloaded.  (Inherited from ArcGIS.Core.Geometry.MultipartBuilder<Polyline>)
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<Polyline>)
Public MethodOverloaded.  (Inherited from ArcGIS.Core.Geometry.MultipartBuilder<Polyline>)
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<Polyline>)
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 Polyline class from an Esri shape buffer.  
Public Methodstatic (Shared in Visual Basic)Creates a new instance of a Polyline class from a JSON string representation.  
Public Methodstatic (Shared in Visual Basic)Creates a new instance of a Polyline 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<Polyline>)
Public MethodOverloaded.  (Inherited from ArcGIS.Core.Geometry.MultipartBuilder<Polyline>)
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<Polyline>)
Public MethodOverloaded.  (Inherited from ArcGIS.Core.Geometry.MultipartBuilder<Polyline>)
Public Methodstatic (Shared in Visual Basic)Queries parameters to be used when creating an instance Polyline or PolylineBuilder class that is a linear approximation to a clothoid. This method must be called on the MCT. Use QueuedTask.Run.  
Public MethodRemove the part specified by partIndex. This method must be called on the MCT. Use QueuedTask.Run. (Inherited from ArcGIS.Core.Geometry.MultipartBuilder<Polyline>)
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<Polyline>)
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<Polyline>)
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<Polyline>)
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<Polyline>)
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<Polyline>)
Public MethodOverridden. Returns a Polyline 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

PolylineBuilder Class
ArcGIS.Core.Geometry Namespace