TextNode Members


The TextNode type exposes the following members.

Methods

Name Description
Public method Dispose (Inherited from RenderNode .)
Public method Equals
Determines whether the specified Object is equal to the current Object .
(Inherited from Object .)
Public method GetFormattedTextRuns
Returns a list of separated runs of formated text.
Public method GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object .)
Public method GetType
Gets the Type of the current instance.
(Inherited from Object .)
Public method ToString
Returns a string that represents the current object.
(Inherited from Object .)

Properties

Name Description
Public property BaseDirection
Direction of the base line of the text object (in model space).
Public property Color
The color of the text.
Public property FontHeight
Height [ft] of the font including both the typographic ascender and descender.
Public property FontName
The name of the text font.
Public property Height
Height [ft] of the area of the text content.
Public property HorizontalAlignment
Horizontal alignment of the text content within the text area of the element.
Public property IsBold
Indicates whether the text style is set to bold text.
Public property IsForRightToLeftReading
Indicates whether the text uses Right-To-Left reading order.
Public property IsItalic
Indicates whether the text style is set to italic text.
Public property IsKeptReadable
A flag controling how text behaves inside a rotated text object.
Public property IsTransparent
Indicates whether the text background is transparent or opaque.
Public property IsUnderlined
Indicates whether the text style is set to underlined text.
Public property IsValidObject
Specifies whether the .NET object represents a valid Revit entity.
(Inherited from RenderNode .)
Public property NodeName
A readable name of the output node.
(Inherited from RenderNode .)
Public property Position
Position of the text (in model coordinates.)
Public property TabSize
The size of one tabulator space.
Public property Text
The content of the text annotation as a plain string stripped of all formating.
Public property TextSize
Height [ft] of the text.
Public property UpDirection
Direction along the vertical axis of letters of the text object (in model space).
Public property VerticalAlignment
Vertical alignment of the text content within the text area of the element.
Public property Width
Width [ft] of the area of the text content.
Public property WidthScale
Horizontal scale applied to the text.

See Also