![]() | 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: 2023.0.1

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).) |
