ESRI.ArcGIS.ADF.IMS
Paths Property
See Also 
ESRI.ArcGIS.ADF.IMS.Geometry Namespace > Polyline Class : Paths Property




Gets or sets the Paths in the Polyline.

Syntax

Visual Basic (Declaration) 
Public Property Paths As PathCollection
Visual Basic (Usage)Copy Code
Dim instance As Polyline
Dim value As PathCollection
 
instance.Paths = value
 
value = instance.Paths
C# 
public PathCollection Paths {get; set;}

Example

For an example, see the Polyline overview.

Remarks

At least one Path must be added to the Paths of a Polyline before the Polyline is used in a map or query. This ArcXML error will be returned if no paths have been added: "AXLParser: POLYLINE tag incorrect."

An empty PathCollection is created and set as the Paths property upon creation of a Polyline. It is not necessary to create a new PathCollection unless you wish to completely replace an existing PathCollection, or otherwise manage Path objects.

See Also

© 2010 All Rights Reserved.