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


IMSegmentation2.SetMsAsDistance2 Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Geometry)  

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 VARIANT_BOOL

Product Availability

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

See Also

IMSegmentation2 Interface | IMSegmentation.SetMsAsDistance Method