FontAttributes Class |
The FontAttributes class contains the basic attributes for fonts.
Namespace: Tekla.Structures.Drawing
Assembly: Tekla.Structures.Drawing (in Tekla.Structures.Drawing.dll) Version: 2024.0.0+a110b435391768740483e3032720a566518c9a63
The FontAttributes type exposes the following members.
| Name | Description | |
|---|---|---|
| FontAttributes |
Creates a new font attributes instance. The default color is black, the height is 2.5,
the font name is Arial and the values of italic and bold are false.
| |
| FontAttributes(DrawingColors, Double, String, Boolean, Boolean) |
Creates a new font attributes instance with the given parameters.
| |
| FontAttributes(TeklaDrawingColor, Double, String, Boolean, Boolean) |
Creates a new font attributes instance with the given parameters.
|
| Name | Description | |
|---|---|---|
| Bold |
Whether the font is bold.
| |
| Color |
The color of the font.
| |
| Height |
The height of the font (in millimeters).
| |
| Italic |
Whether the font is italic.
| |
| Name |
The name of the font.
| |
| TrueColor |
The true color (rgb enabled) of the font.
|
| Name | Description | |
|---|---|---|
| Clone |
Creates a new object that is a copy of the current instance.
| |
| IsEqual |
Compares the current object with an object of the same type.
(Overrides GenericAttributesBaseIsEqual(Object).) |