Property BackgroundColor
- Namespace
- GeometryHelper.Dxf
- Assembly
- GeometryHelper.dll
BackgroundColor
Gets or sets the colour behind the pattern, as AutoCAD's BackgroundColor: from the extended data of the
application HATCHBACKGROUNDCOLOR (1071), as AutoCAD and ezdxf write it; none where the HATCH has none.
public DxfColor BackgroundColor { get; set; }
Property Value
- DxfColor
Set, a true colour, one of the index, BYLAYER or BYBLOCK; none takes the data out. The colour it has changes nothing.
Exceptions
- ArgumentNullException
Thrown when the colour set is null.
- ArgumentException
Thrown when the colour set is by pen, or a layer's off or frozen.
- InvalidOperationException
Thrown when the HATCH is erased.