This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Geometry > ESRI.ArcGIS.Geometry > Interfaces > IE > IEnvelope Interface > IEnvelope.ExpandM Method (ArcObjects .NET 10.5 SDK) |
Moves the measure of the sides toward or away from each other.
[Visual Basic .NET] Public Sub ExpandM ( _ ByVal dm As Double, _ ByVal asRatio As Boolean _ )
[C#] public void ExpandM ( double dm, bool asRatio );
[C++]
HRESULT ExpandM(
double dm,
VARIANT_BOOL asRatio
);
[C++]
Parameters dm dm is a parameter of type double asRatio asRatio is a parameter of type VARIANT_BOOL
ExpandM scales the M attributes of the Envelope. If asRatio=FALSE, the scaling is additive (MMin=MMin - dm, MMax=MMax + dm). If asRatio=TRUE, the scaling is multiplicative (MMin=MMin - dm*(MMax - MMin)/2, MMax=MMax + dm*(MMax - MMin)/2).