TextNode Members

The TextNode type exposes the following members.

Methods

  NameDescription
Public methodDispose (Inherited from RenderNode.)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodGetFormattedTextRuns
Returns a list of separated runs of formated text.
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)

Properties

  NameDescription
Public propertyBaseDirection
Direction of the base line of the text object (in model space).
Public propertyColor
The color of the text.
Public propertyFontHeight
Height [ft] of the font including both the typographic ascender and descender.
Public propertyFontName
The name of the text font.
Public propertyHeight
Height [ft] of the area of the text content.
Public propertyHorizontalAlignment
Horizontal alignment of the text content within the text area of the element.
Public propertyIsBold
Indicates whether the text style is set to bold text.
Public propertyIsForRightToLeftReading
Indicates whether the text uses Right-To-Left reading order.
Public propertyIsItalic
Indicates whether the text style is set to italic text.
Public propertyIsKeptReadable
A flag controling how text behaves inside a rotated text object.
Public propertyIsTransparent
Indicates whether the text background is transparent or opaque.
Public propertyIsUnderlined
Indicates whether the text style is set to underlined text.
Public propertyIsValidObject
Specifies whether the .NET object represents a valid Revit entity.
(Inherited from RenderNode.)
Public propertyNodeName
A readable name of the output node.
(Inherited from RenderNode.)
Public propertyPosition
Position of the text (in model coordinates.)
Public propertyTabSize
The size of one tabulator space.
Public propertyText
The content of the text annotation as a plain string stripped of all formating.
Public propertyTextSize
Height [ft] of the text.
Public propertyUpDirection
Direction along the vertical axis of letters of the text object (in model space).
Public propertyVerticalAlignment
Vertical alignment of the text content within the text area of the element.
Public propertyWidth
Width [ft] of the area of the text content.
Public propertyWidthScale
Horizontal scale applied to the text.

See Also