TextElement Class |
The TextElement class defines a user-defined text in a mark content.
Namespace: Tekla.Structures.Drawing
Assembly: Tekla.Structures.Drawing (in Tekla.Structures.Drawing.dll) Version: 2025.0.0-alpha00045580+dc02c3918546f1e94eb2d3b13ea99057fb3313e0
The TextElement type exposes the following members.
| Name | Description | |
|---|---|---|
| TextElement(String) |
Creates a new text element instance with the given textual value.
| |
| TextElement(String, FontAttributes) |
Creates a new text element instance with the given textual value and font.
|
| Name | Description | |
|---|---|---|
| Clone |
Clones the object.
(Overrides ElementBaseClone.) | |
| GetUnformattedString |
Returns the content as a string without formatting.
(Overrides ElementBaseGetUnformattedString.) | |
| IsEqual |
Compares the current object with an object of the same type.
(Overrides ElementBaseIsEqual(Object).) |