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: 2025.0.0-alpha00045580+dc02c3918546f1e94eb2d3b13ea99057fb3313e0
Syntax
public TeklaDrawingColor(
	DrawingColors ColorEnum
)

Parameters

ColorEnum
Type: Tekla.Structures.DrawingDrawingColors
Color as DrawingColors
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionThrows if ColorEnum is not a valid Tekla Standard color
See Also
Was this helpful?
The feedback you give here is not visible to other users. We use your comments to improve the content.
Previous
Next