TextNode
Description:
This class represents a text annotation object in a model-exporting process.
This class represents a text annotation object in a model-exporting process.
Remarks:
See also: OnText(TextNode).
See also: OnText(TextNode).
public class TextNode : RenderNode
| Name | Return Type | Description | Inherited From |
|---|---|---|---|
| Dispose() | None | (Inherited from RenderNode ) | RenderNode |
| Equals | None | Determines whether the specified object is equal to the current object. (Inherited from Object ) | Object |
| GetFormattedText() | FormattedText | Returns an FormattedText object that contains text and associated formatting of this TextNode. | |
| GetHashCode | None | Serves as the default hash function. (Inherited from Object ) | Object |
| GetType | None | Gets the Type of the current instance. (Inherited from Object ) | Object |
| ToString | None | Returns a string that represents the current object. (Inherited from Object ) | Object |
| Name | Return Type | Description | Inherited From |
|---|---|---|---|
| BaseDirection | XYZ | Direction of the base line of the text object in model space. | |
| Color | Color | The color of the text. | |
| FontHeight | double | Height [ft] of the text font, in model space. | |
| FontName | string | The name of the text font. | |
| Height | double | Height [ft] of the area of the text content in model space. | |
| HorizontalAlignment | HorizontalTextAlignment | Indicates default horizontal alignment of the text. | |
| IsBold | bool | Indicates whether the default formatting is set to bold text. | |
| IsItalic | bool | Indicates whether the default formatting is set to italic text. | |
| IsKeptReadable | bool | Indicates text behavior inside a rotated text object. | |
| IsTransparent | bool | Indicates whether the text background is transparent or opaque. | |
| IsUnderlined | bool | Indicates whether the default formatting is set to underlined text. | |
| IsValidObject | Boolean | Specifies whether the .NET object represents a valid Revit entity. (Inherited from RenderNode ) | RenderNode |
| NodeName | string | A readable name of the output node. (Inherited from RenderNode ) | RenderNode |
| Position | XYZ | Position of the text in model coordinates. | |
| TabSize | double | The size [ft] of the interval between tab stops, in model space. | |
| Text | string | The content of the text annotation as a plain string stripped of all formatting. | |
| UpDirection | XYZ | Direction along the vertical axis of letters of the text object in model space. | |
| VerticalAlignment | VerticalTextAlignment | Indicates default vertical alignment of the text. | |
| Width | double | Width [ft] of the area of the text content in model space. | |
| WidthScale | double | Scale applied to the width of the text. |