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: 2024.0.0+a110b435391768740483e3032720a566518c9a63
Syntax
The LinkAttributes type exposes the following members.
Constructors
Name | Description | |
---|---|---|
LinkAttributes |
Creates a new link attributes instance using standard attributes.
| |
LinkAttributes(String) |
Creates a new link attributes instance loading the specified attributes.
|
Properties
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.
|
Methods
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).) |
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