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


ITraverseWindow.MeasureText Property (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Editor)  

ITraverseWindow.MeasureText Property

The ith value that defines the course to add.

[Visual Basic .NET]
Public Function get_MeasureText ( _
    ByVal index As Integer _
) As String
[Visual Basic .NET]
Public Sub set_MeasureText ( _
    ByVal index As Integer, _
    ByVal text As String _
)
[C#]
public string get_MeasureText (
    int index
);
[C#]
public void set_MeasureText (
    int index,
    string text
);

Product Availability

Available with ArcGIS Desktop.

Remarks

The MeasureText value represents the text within the measure controls of the Traverse dialog. The value can be a direction, angle or a distance depending on the type of course and the position of the index. The index is used to specify which control the text is in.

When the Type is and the Index is and CurveParameter is then MeasureText is a
esriCTDirectionDistance MeasureText(0) Direction
esriCTDirectionDistance MeasureText(1) Distance
esriCTAngleDistance MeasureText(0) Angle
esriCTAngleDistance MeasureText(1) Distance
esriCTTangentCurve MeasureText(0) Chord, Arc or Radius Distance
esriCTTangentCurve MeasureText(0) Angle Angle
esriCTTangentCurve MeasureText(1) Chord, Arc or Radius Distance
esriCTTangentCurve MeasureText(1) Angle Angle
esriCTCurve MeasureText(0) Chord, Arc or Radius Distance
esriCTCurve MeasureText(0) Angle Angle
esriCTCurve MeasureText(1) Chord, Arc or Radius Distance
esriCTCurve MeasureText(1) Angle Angle
When the course type is esriCTCurve the direction of the curve must be specified. The MeasureText(2) value is a distance defined as a chord distance, radial distance or tangent distance.
Any distances are specified in the linear units of the map. An optional suffix can be used to specify the specific units the distance is in, which will get converted to map units when the course is added. Refer to the IDistanceConverter interface for a list of the available suffixes. Any directions and angles are specified in the units described on the Units tab of the Editor Options dialog. The DirectionType and DirectionUnits properties are also found on the IEditProperties2 interface. 
Directions and distances are also affected by the current ground to grid properties, set on the Units tab of the Editor Options dialog. The AngularCorrectionOffset and DistanceCorrectionFactor can also be found on the IEditProperties2 interface.

See Also

ITraverseWindow Interface