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.

LinkAttributes Class

The LinkAttributes class contains the attributes for controlling the appearance of a link.
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 LinkAttributes : AttributesBase

The LinkAttributes type exposes the following members.

Constructors
  Name Description
Public method LinkAttributes
Creates a new link attributes instance using standard attributes.
Public method LinkAttributes(String)
Creates a new link attributes instance loading the specified attributes.
Top
Properties
  Name Description
Public property Font
Gets or sets the font attributes.
Public property Frame
Gets or sets the link frame attributes.
Public property IsUnderlined
Defines whether the link is underlined or not.
Public property Scaling
Gets or sets the link scaling options.
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 link frame attributes from the specified file.
(Overrides AttributesBaseLoadAttributes(String).)
Top
Examples
The following code shows how to load user-defined attributes that are named "red":
using Tekla.Structures.Drawing;

public class Example
{
       public void Example1()
       {
           LinkAttributes linkAttributes = new LinkAttributes("red");
       }
}
See Also