UserDefinedElement Class |
The UserDefinedElement class represents a user-defined attribute specified by its name.
A user-defined element is converted into a textual value before it is drawn.
Namespace: Tekla.Structures.Drawing
Assembly: Tekla.Structures.Drawing (in Tekla.Structures.Drawing.dll) Version: 2025.0.0-alpha00045580+dc02c3918546f1e94eb2d3b13ea99057fb3313e0
The UserDefinedElement type exposes the following members.
| Name | Description | |
|---|---|---|
| UserDefinedElement(String) |
Creates a new user-defined element instance with the given name.
| |
| UserDefinedElement(String, FontAttributes) |
Creates a new user-defined element instance with the given name and font.
|
| Name | Description | |
|---|---|---|
| Font |
The font of the user-defined attribute.
| |
| Name |
The name of the user-defined attribute.
| |
| Unit |
Gets or sets the unit attributes.
| |
| Value |
The value of the user-defined attribute.
|
| 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).) |