ESRI.ArcGIS.ADF.IMS
Points Property
See Also  Send Feedback
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.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2011 All Rights Reserved.