Method SetColor
- Namespace
- GeometryHelper.Dxf
- Assembly
- GeometryHelper.dll
SetColor(DxfColor)
Gives every entity of the group a colour, as AutoCAD's SetColor, as Color sets one.
public void SetColor(DxfColor color)
Parameters
colorDxfColorThe colour: by layer, by block, of the index or a true colour.
Exceptions
- ArgumentNullException
Thrown when the colour is null.
- ArgumentException
Thrown when the colour is of another kind; nothing is written then.
- InvalidOperationException
Thrown when the group is erased, or a true colour is set in a file older than R2004.