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


IMSegmentation2.SetMsAsDistance2 Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geometry > ESRI.ArcGIS.Geometry > Interfaces > IM > IMSegmentation2 Interface > IMSegmentation2.SetMsAsDistance2 Method
ArcGIS Developer Help

IMSegmentation2.SetMsAsDistance2 Method

Sets Ms on vertices as scaled and offset distances from the input origin as measured along the polyline. Shortest path distances from the origin are used. Optionally ignores distances between parts of the polyline.

[Visual Basic .NET]
Public Sub SetMsAsDistance2 ( _
    ByVal Origin As IPoint, _
    ByVal Scale As Double, _
    ByVal Offset As Double, _
    ByVal ignoreGaps As Boolean _
)
[C#]
public void SetMsAsDistance2 (
    IPoint Origin,
    double Scale,
    double Offset,
    bool ignoreGaps
);
[C++]
HRESULT SetMsAsDistance2(
  IPoint* Origin,
  double Scale,
  double Offset,
  VARIANT_BOOL ignoreGaps
);
[C++]
Parameters
Origin 

Origin is a parameter of type IPoint* Scale
Scale is a parameter of type double Offset
Offset is a parameter of type double ignoreGaps
ignoreGaps is a parameter of type bool

Product Availability

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

See Also

IMSegmentation2 Interface | IMSegmentation.SetMsAsDistance Method