Method SetBackgroundColor
- Namespace
- GeometryHelper.Dxf
- Assembly
- GeometryHelper.dll
SetBackgroundColor(DxfColor, DxfRowType)
Sets the colour the cells of kinds of row are filled with and turns the fill on, as AutoCAD's SetBackgroundColor(color, rowTypes).
public void SetBackgroundColor(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.