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

IDimensionStyleText.TextFit Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > ID > IDimensionStyleText Interface > IDimensionStyleText.TextFit Property
ArcGIS Developer Help

IDimensionStyleText.TextFit Property

Text fit policy for the style.

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

fit is a parameter of type esriDimensionTextFit fit [out, retval]
fit is a parameter of type esriDimensionTextFit*

Product Availability

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


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