ESRI.ArcGIS.Mobile
Resize(Double) Method
See Also  Send Feedback
ESRI.ArcGIS.Mobile.Geometries Namespace > Envelope Class > Resize Method : Resize(Double) Method

factor
Resizes the envelope by a factor.

Syntax

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

Parameters

factor

Exceptions

ExceptionDescription
ArgumentExceptionInvalid factor to resize envelope.

Remarks

If factor is smaller than 1 the resulting envelope will be smaller. For instance 0.05 scales the envelope to 5%. If the factor is greater than 1 the resulting envelope will be larger. There is a potential risk of overflow, in that case the resulting envelope will have its x and y set to the maximum or to the minimum depending on the factor.

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