API Reference

Detailed and full API reference helps you master Tekla development

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

TextTextAttributes Class

The TextAttributes class is the attributes class for the text.
Inheritance Hierarchy
SystemObject
  Tekla.Structures.DrawingAttributesBase
    Tekla.Structures.DrawingTextTextAttributes

Namespace:  Tekla.Structures.Drawing
Assembly:  Tekla.Structures.Drawing (in Tekla.Structures.Drawing.dll) Version: 2019.0.0.0 (2019.0.0.0)
Syntax
[SerializableAttribute]
public sealed class TextAttributes : AttributesBase, 
	IPreferredPlacing

The TextTextAttributes type exposes the following members.

Constructors
  Name Description
Public method TextTextAttributes
Creates a new default text attributes instance that loads standard attributes.
Public method TextTextAttributes(String)
Creates a new text attributes instance that loads the specified attributes.
Top
Properties
  Name Description
Public property Alignment
The text object's alignment (left, center, right).
Public property Angle
The angle of the text frame.
Public property ArrowHead
The arrowhead of the leader line.
Public property CustomPresentation
Custom presentation GUID to be applied to the object type
Public property Font
The text object's font settings.
Public property Frame
The frame for the text.
Public property PlacingAttributes
The placing attributes that the object should use. Using these you can specify whether the object is automatically arranged in the drawing or not.
Public property PreferredPlacing
The type of placing the object should use. See the preferred placing types for different types of placing.
Public property RulerWidth
Gets or sets the width in paper coordinates of the ruler to be used in word wrapping.
Public property TransparentBackground
Gets or sets a value indicating whether the background transparency is enabled for texts.
Public property UseWordWrapping
Gets or sets a value indicating whether to [use word wrapping].
Top
Methods
  Name Description
Public method IsEqual
Compares the current object with an object of the same type.
(Overrides AttributesBaseIsEqual(Object).)
Public method LoadAttributes
Loads the attributes from the attribute file.
(Overrides AttributesBaseLoadAttributes(String).)
Top
See Also