ESRI.ArcGIS.ADF.IMS
Points Property
See Also 
ESRI.ArcGIS.ADF.IMS.Geometry Namespace > Path Class : Points Property




Gets or sets the Points along the path.

Syntax

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

Example

For an example, see Polyline .

Remarks

The Points define the geometry of the Path. Points are drawn in the order in which they occur in the collection.

An empty PointCollection is created when the Path is created, so points can be added immediately to the collection.

At least two points must be added to each Path. This ArcXML error will be returned if no points have been added to a path: "AXLParser: POLYLINE tag incorrect." If only one point is added, no error will be thrown, but the Path will not draw.

See Also

© 2010 All Rights Reserved.