LinkAttributes Class |
The LinkAttributes class contains the attributes for controlling the appearance of a link.
Namespace: Tekla.Structures.Drawing
Assembly: Tekla.Structures.Drawing (in Tekla.Structures.Drawing.dll) Version: 2025.0.0-alpha00045580+dc02c3918546f1e94eb2d3b13ea99057fb3313e0
The LinkAttributes type exposes the following members.
| Name | Description | |
|---|---|---|
| LinkAttributes |
Creates a new link attributes instance using standard attributes.
| |
| LinkAttributes(String) |
Creates a new link attributes instance loading the specified attributes.
|
| Name | Description | |
|---|---|---|
| Font |
Gets or sets the font attributes.
| |
| Frame |
Gets or sets the link frame attributes.
| |
| IsUnderlined |
Defines whether the link is underlined or not.
| |
| Scaling |
Gets or sets the link scaling options.
|
| Name | Description | |
|---|---|---|
| IsEqual |
Compares the current object with an object of the same type.
(Overrides AttributesBaseIsEqual(Object).) | |
| 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"); } }