ESRI.ArcGIS.ADF.IMS
Expand Method
See Also 
ESRI.ArcGIS.ADF.IMS.Geometry Namespace > Point Class : Expand Method




expandPercentage
Percentage to expand the Envelope.
currentExtent
Current extent from which to calculate expansion.
Expands the Point by a given percentage of the current extent.

Syntax

Visual Basic (Declaration) 
Public Function Expand( _
   ByVal expandPercentage As Double, _
   ByVal currentExtent As Envelope _
) As Envelope
Visual Basic (Usage)Copy Code
Dim instance As Point
Dim expandPercentage As Double
Dim currentExtent As Envelope
Dim value As Envelope
 
value = instance.Expand(expandPercentage, currentExtent)
C# 
public Envelope Expand( 
   double expandPercentage,
   Envelope currentExtent
)

Parameters

expandPercentage
Percentage to expand the Envelope.
currentExtent
Current extent from which to calculate expansion.

Return Value

Envelope created from expanding the Point.

Remarks

This method is useful when selecting features near a point. Point and line features cannot be selected directly using a point. Using a small envelope around the point will select nearby features.

The new envelope will be the specified percentage of the input envelope. It will be centered on the current Point object.

See Also

© 2010 All Rights Reserved.