ArcObjects Library Reference (Carto)  

IDimensionStyleText.TextFit Property

Text fit policy for the style.

[Visual Basic .NET]
Public Property TextFit As esriDimensionTextFit
[C#]
public esriDimensionTextFit TextFit {get; set;}
[C++]
HRESULT get_TextFit(
  esriDimensionTextFit* fit
);
[C++]
HRESULT put_TextFit(
  esriDimensionTextFit fit
);
[C++]

Parameters

fit [out, retval]

  fit is a parameter of type esriDimensionTextFit

fit [in]

  fit is a parameter of type esriDimensionTextFit

Product Availability

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

Remarks

The TextFit property determines where the text will be placed if it does not fit between the markers after they have been moved (due to marker fit settings). The esriDimensionTextFit enumeration defines three values for this behavior:

esriDimensionTextFitNone  - Do not move text.
esriDimensionTextFitMoveBegin - Move text to beginning dimension line.
esriDimensionTextFitMoveEnd  - Move text to ending dimension line.

See Also

IDimensionStyleText Interface