ESRI.ArcGIS.Mobile
Subtract Method
See Also  Send Feedback
ESRI.ArcGIS.Mobile.Geometries Namespace > Envelope Class : Subtract Method

other
Subtracts an envelope from this envelope.

Syntax

Visual Basic (Declaration) 
Public Function Subtract( _
   ByVal other As Envelope _
) As ICollection(Of Envelope)
C# 
public ICollection<Envelope> Subtract( 
   Envelope other
)

Parameters

other

Return Value

Returns the list of envelopes resulting from subtracting the input envelope from this envelope.

Exceptions

ExceptionDescription
ArgumentNullExceptionif the input envelope is null

Remarks

If the input envelope doesn't intersect this envelope, only this envelope is returned in the list.
If the input envelope includes this envelope, then it returns an empty list.
This method can return up to four envelopes from the subtraction.

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