Table of Contents

Property BackgroundFillColor

Namespace
GeometryHelper.Dxf
Assembly
GeometryHelper.dll

BackgroundFillColor

Gets or sets the colour of the background (group 63, and 421 for red, green and blue, 431 for its book's name), as AutoCAD's BackgroundFillColor; null where the record gives none.

public DxfColor BackgroundFillColor { get; set; }

Property Value

DxfColor

Set, a colour of the index or a true colour: the index written, and the red, green and blue of a true colour with it, as Color writes them; null takes them out, but for the index 256, BYLAYER, kept while the background is on.

Exceptions

ArgumentException

Thrown when the colour set is by layer, by block or of no index or true colour.

InvalidOperationException

Thrown when the MTEXT is erased, or set in a file older than R2004 (AC1018).