ESRI.ArcGIS.ADF.Web
Expand Method
See Also 
ESRI.ArcGIS.ADF.Web.Geometry Namespace > Envelope Class : Expand Method




expandPercentage
Percentage to expand the current Envelope.
Expands the Envelope by a given percentage.

Syntax

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

Parameters

expandPercentage
Percentage to expand the current Envelope.

Return Value

A new expanded Envelope.

Remarks

The new envelope has the same center as the input envelope. The height and width are both enlarged to (1 + expandPercentage/100) times the current height and width. For example,

See Also

© 2010 All Rights Reserved.