TextElement.Coord Property

Position of the text (in model coordinates.)


Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.4.0.0 (26.4.0.0)

Syntax

C#

public XYZ Coord { get; set; }

Property Value

XYZ

Exceptions

ExceptionCondition
ArgumentException When setting this property: A valid point must not be father then 10 miles (approx. 16 km) from the origin.
ArgumentNullException When setting this property: A non-optional argument was null

Remarks

The position defines a point on the edge of the text area, not a point on the border (if a border is defined for the style.) It means that if the width of the border gets changed, the position of the text area remains unchanged.

The relation of the position point with respect to the text area depends on the text alignment as follows:

See Also

Reference

TextElement Class
Autodesk.Revit.DB Namespace