Method SetColor
- Namespace
- GeometryHelper.Dxf
- Assembly
- GeometryHelper.dll
SetColor(DxfColor, DxfRowType)
Sets the colour of the text of kinds of row, as AutoCAD's SetColor(color, rowTypes).
public void SetColor(DxfColor color, DxfRowType rowTypes)
Parameters
colorDxfColorThe colour: of the index, by layer or by block.
rowTypesDxfRowTypeThe kinds, one or more of the three.
Exceptions
- ArgumentNullException
Thrown when the colour is null.
- ArgumentException
Thrown when the colour is a true colour or none.
- ArgumentOutOfRangeException
Thrown when the kinds are none or hold a flag none of the three has.
- InvalidOperationException
Thrown when the style is erased.