2024 Class
Changes 0
C

TextNode

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