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: [!:Autodesk::Revit::DB::IModelExportContext::OnText].
See also: [!:Autodesk::Revit::DB::IModelExportContext::OnText].
public class TextNode : RenderNode
| Name | Return Type | Description | Inherited From |
|---|---|---|---|
| GetFormattedText() | FormattedText | Returns an object that contains text and associated formatting of this TextNode. | |
| Dispose() | None | Releases all resources used by the | RenderNode |
| 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. | |
| 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. | |
| IsValidObject | bool | Specifies whether the .NET object represents a valid Revit entity. | RenderNode |
| NodeName | string | A readable name of the output node. | RenderNode |