TeklaDrawingColor Constructor (DrawingColors) |
Construct a TeklaDrawingColor instance by passing in a Tekla standard color enum value.
Use of this constructor is discouraged, please use TeklaDrawingColor(Color RGB)
Namespace: Tekla.Structures.Drawing
Assembly: Tekla.Structures.Drawing (in Tekla.Structures.Drawing.dll) Version: 2024.0.0+a110b435391768740483e3032720a566518c9a63
Syntax
Parameters
- ColorEnum
- Type: Tekla.Structures.DrawingDrawingColors
Color as DrawingColors
Exceptions
Exception | Condition |
---|---|
ArgumentOutOfRangeException | Throws if ColorEnum is not a valid Tekla Standard color |
See Also