Tekla Open API

Detailed and full API reference helps you master Tekla Open API

This is the most recent version of Tekla Open API.
For older versions, please visit Tekla Warehouse.

TextElement Class

The TextElement class defines a user-defined text in a mark content.
Inheritance Hierarchy

Namespace:  Tekla.Structures.Drawing
Assembly:  Tekla.Structures.Drawing (in Tekla.Structures.Drawing.dll) Version: 2018.1.0.0 (2018.1.0.0)
Syntax
[SerializableAttribute]
public sealed class TextElement : ElementBase

The TextElement type exposes the following members.

Constructors
  Name Description
Public method TextElement(String)
Creates a new text element instance with the given textual value.
Public method TextElement(String, FontAttributes)
Creates a new text element instance with the given textual value and font.
Top
Properties
  Name Description
Public property Font
The font of the text element.
Public property Value
The textual value of the text element.
Top
Methods
See Also