2027 Class
Changes 0
C

TextNode

Description:
This class represents a text annotation object in a model-exporting process.
Remarks:
See also: OnText(TextNode).
Inheritance Hierarchy:
System.Object
  Autodesk.Revit.DB.RenderNode
    Autodesk.Revit.DB.TextNode
public class TextNode : RenderNode
Name Return Type Description Inherited From
M Dispose() None (Inherited from RenderNode ) RenderNode
M Equals None Determines whether the specified object is equal to the current object. (Inherited from Object ) Object
M GetFormattedText() FormattedText Returns an FormattedText object that contains text and associated formatting of this TextNode.
M GetHashCode None Serves as the default hash function. (Inherited from Object ) Object
M GetType None Gets the Type of the current instance. (Inherited from Object ) Object
M ToString None Returns a string that represents the current object. (Inherited from Object ) Object
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 IsValidObject Boolean Specifies whether the .NET object represents a valid Revit entity. (Inherited from RenderNode ) RenderNode
P NodeName string A readable name of the output node. (Inherited from RenderNode ) RenderNode
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.