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




Gets or sets the Points in the Hole.

Syntax

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

Example

For an example, see Polygon .

Remarks

A Hole's geometry is defined by a series of Point objects, contained in the PointCollection in this property. The vertices in the rings and holes of the polygon must occur in the order they will be drawn.

A Hole must be closed - the beginning and ending points must be identical. If the last point is not identical to the first, the first point will be duplicated as the last point in the ArcXML request to the server (though the last point will not be added to the Points collection).

See Also

© 2010 All Rights Reserved.