This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Geometry > ESRI.ArcGIS.Geometry > Interfaces > IM > IMSegmentation2 Interface > IMSegmentation2.SetMsAsDistance2 Method (ArcObjects .NET 10.4 SDK) |
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
IMSegmentation2 Interface | IMSegmentation.SetMsAsDistance Method