The Polyline type exposes the following members.

Constructors

  NameDescription
PolylineOverloaded.
Initializes a new instance of the Polyline class with the specified initial properties.

Methods

  NameDescription
AddPathOverloaded.
Adds a new path to the Polyline.
AddPointOverloaded.
Adds a Point to the Polyline by copying the specified Point after any existing points.
AddPointsOverloaded.
Adds an enumerable set of points to the Polyline by copying the specified points after any existing points.
Clone
Returns a new Polyline with properties equal to the current Polyline.
CreateFromXmlString
Helper method to generate an object from its XML representation, used to deserialize an object passed to a worker thread.
Equals
Tests whether the specified object and the current object refer to the same underlying object.
(Inherited from Geometry.)
Finalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
GetCenter
Gets a new Point object located at the center of this Geometry.
(Inherited from Geometry.)
GetEnvelope
Returns a new Envelope indicating the geographical extent of the Geometry.
(Inherited from Geometry.)
GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
GetLabelPoint
Returns a Point suitable for labeling the Polyline.
(Overrides Geometry..::.GetLabelPoint()()().)
GetPath
Gets the a copy of the points in the requested path of the Polyline.
GetPaths
Gets the a copy of the points in all of the path of the Polyline.
GetPointOverloaded.
Gets a copy of the specified Point.
GetType
Gets the Type of the current instance.
(Inherited from Object.)
GetXmlSchema
Creates a schema for this class (required by the serialization implementation for this class).
InsertPath
Inserts a new path at the specified index containing the specified points.
InsertPointOverloaded.
Inserts a copy of the specified Point into the Polyline.
InsertPointsOverloaded.
Inserts a copy of the specified set of points into the Polyline.
MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
PointCountOverloaded.
Gets the number of points. See overloads for details.
PointCountAllPaths
Gets the total number of points in all of the paths in a single part or multipart Polyline.
RemoveAllPoints
Removes all points from the Polyline.
RemovePathAt
Removes the specified path, and all of the points that compose that path, from the Polyline.
RemovePointAtOverloaded.
Removes the specified Point from the Polyline.
RemovePointsAtOverloaded.
Removes the specified points from the Polyline.
SetPath
Replaces any existing points in the specified path with the specified points.
SetPointOverloaded.
Replaces an existing Point in the Polyline with a copy of the specified Point.
SetPointsOverloaded.
Replaces an existing Point in the Polyline with a copy of the specified Point.
ToString
Returns a string containing basic information about the Polyline.
(Overrides Object..::.ToString()()().)
ToXmlString
Helper method to serialize an object to its XML representation, used to serialize an object to pass to a worker thread.
(Inherited from Geometry.)

Properties

  NameDescription
CoordinateSystem
Gets or sets the coordinate system used by this Geometry.
(Inherited from Geometry.)
GeometryType
Gets the type of the geometry, indicating the underlying class.
(Inherited from Geometry.)
HasCurves
Gets a boolean indicating whether the Polyline contains any curves.
IsEmpty
Indicates whether the Geometry contains any geometric information.
(Inherited from Geometry.)
Length
Returns the length of the Polyline, in the units of the CoordinateSystem.
PathCount
Gets the number of paths in this Polyline. Polylines may have one or more paths.
ZSpecified
Gets a value indicating whether the geometry has Z values specified.
(Inherited from Geometry.)

See Also