Click or drag to resize

PageSetupPageColor Property

Gets or sets the background color for all pages of the parent section.

Namespace:  GemBox.Document
Assembly:  GemBox.Document (in GemBox.Document.dll) Version: 27.3.30.1087
Syntax
public Color PageColor { get; set; }

Property Value

Type: Color
The background color for all pages of the parent section.
Remarks

If page color is not set or is set to Empty, it will be inherited from previous section. If page color is not set for the first section, then it defaults to Empty.

DOCX format supports only single page color for an entire document, so page color of the first section will be used for an entire document. Page colors of the subsequent sections won't be stored into DOCX format.

See Also