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.

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: 2021.0.0
public sealed class LinkAttributes : AttributesBase

The LinkAttributes type exposes the following members.

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