This document is archived and information here might be outdated. Recommended version. |
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 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).