ESRI.ArcGIS.Mobile
AddHole Method
See Also  Send Feedback
ESRI.ArcGIS.Mobile.Geometries Namespace > Polygon Class : AddHole Method

hole
Adds a new hole to the polygon.

Syntax

Visual Basic (Declaration) 
Public Sub AddHole( _
   ByVal hole As CoordinateCollection _
) 
C# 
public void AddHole( 
   CoordinateCollection hole
)

Parameters

hole

Exceptions

ExceptionDescription
ArgumentNullExceptionNull coordinate collection for the hole.

Remarks

If the parameter hole is not a closed counter-clockwise ring, this function makes it a hole by reversing coordinate order and/or adding the first coordinate to the end if need.

Requirements

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