TdxPrintingOptions.EnablePageBackgroundOnPrint Property
Specifies if the Rich Edit control applies document page background colors to print previews and printed pages.
Declaration
property EnablePageBackgroundOnPrint: Boolean read; write; default False;
Property Value
Type | Default | Description |
---|---|---|
Boolean | False |
|
Remarks
The base rich text document and its nested documents (floating text boxes, headers, footers, etc.) can have different page background colors. A TdxRichEditControlReportLink component associated with the Rich Edit control initially ignores all custom document background colors and uses the default page color (white) for all print and print preview operations.
You can set the EnablePageBackgroundOnPrint
property to True
to take actual page background colors into account during print and print preview operations.
Change Document Background Color
You can use the parent Rich Edit control’s Document.PageBackColor property or execute the ChangePageColor command to change the current document’s background color.
Default Value
The EnablePageBackgroundOnPrint
property’s default value is False
.