ArcGIS API for Silverlight - Library Reference
Expand Method
See Also  Example Send comments on this topic
ESRI.ArcGIS.Client.Geometry Namespace > Envelope Class : Expand Method

factor
Expansion factor. Factor must be 0 or greater. Values greater than 1 creates a larger envelope, and less then one shrinks it.
Creates a new envelope expanded by the amount specified.

Syntax

Visual Basic (Declaration) 
Public Function Expand( _
   ByVal factor As Double _
) As Envelope
C# 
public Envelope Expand( 
   double factor
)

Parameters

factor
Expansion factor. Factor must be 0 or greater. Values greater than 1 creates a larger envelope, and less then one shrinks it.

Return Value

Expanded envelope

Example

Example: Expand the envelope by 10%:
C#Copy Code
Envelope expanded = myEnvelope.Expand(1.1);

Requirements

Target Platforms: Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family, Windows 7

See Also

© ESRI, Inc. All Rights Reserved.