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


IEnvelope.ExpandM Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geometry > ESRI.ArcGIS.Geometry > Interfaces > IE > IEnvelope Interface > IEnvelope.ExpandM Method
ArcGIS Developer Help

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