Expands the Envelope by a given percentage.
Syntax
Visual Basic (Usage) | Copy Code |
---|
Dim instance As Envelope
Dim expandPercentage As Double
Dim value As Envelope
value = instance.Expand(expandPercentage) |
Parameters
- expandPercentage
Return Value
A new expanded Envelope.
Example
The following example expands the current MapView's extent by 50 percent and assigns the new envelope to the map extent. The code assumes an existing MapView object.
C# | Copy Code |
---|
ESRI.ArcGIS.ADF.IMS.Geometry.Envelope newEnvelope
= mapView.Extent.Expand(50);
mapView.Extent = newEnvelope; |
Visual Basic | Copy Code |
---|
Dim newEnvelope As ESRI.ArcGIS.ADF.IMS.Geometry.Envelope _
= mapView.Extent.Expand(50)
mapView.Extent = newEnvelope |
Remarks
Requirements
Target 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