RVTDocs.com
Namespace: Autodesk.Revit.DB Class: Dimension

Dimension.ResetTextPosition

Method
Description:
Resets the text position of the dimension to the initial position determined by its type and parameters.
Remarks:
The initial point is the text position determined by the type and parameters of the dimension. This property is for use with single-segment dimensions only. For multi-segment dimensions use the corresponding method of the DimensionSegment class.
Syntax
public void ResetTextPosition()
Exceptions
Exception Condition
InvalidOperationException Thrown when:SpotDimension has more than one segments.