This document is archived and information here might be outdated.  Recommended version.


IEnvelope.ExpandM Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Geometry)  

IEnvelope.ExpandM Method

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

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Description

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).

See Also

IEnvelope Interface