DimensionTextPosition Property |
The position of the dimension text's drag point.
Namespace: Autodesk.Revit.DBAssembly: RevitAPI (in RevitAPI.dll) Version: 26.0.4.0 (26.0.4.0)
Syntaxpublic XYZ TextPosition { get; set; }
Public Property TextPosition As XYZ
Get
Set
public:
property XYZ^ TextPosition {
XYZ^ get ();
void set (XYZ^ value);
}
member TextPosition : XYZ with get, set
Property Value
XYZ
ExceptionsException | Condition |
---|
ArgumentNullException |
When setting this property: A non-optional argument was null
|
InvalidOperationException |
Thrown when:
- SpotDimension style type is SpotSlope.
- Using equality formula.
- Dimension style is ordinate.
-or-
Thrown when:
- SpotDimension has more than one segments.
-or-
|
RemarksThis property is not applicable to all dimensions.
For example, it is not available for spot slope dimensions, multi-segments dimensions,
dimensions using equality formula, and when dimension style is ordinate.
If the position is not applicable, this property throws InvalidOperationException.
See Also