BCL easyPDF SDK
easyPDF SDK Usermanual
PDF Creator Programming API  |  Download Free Trial  |  Contact Us to Purchase

PrintBGColor Property

Gets/Sets the flag that indicates whether to print background color or not when printing.

Type

Boolean

Remarks

This property is user-global, and it cannot be changed in a thread-safe way. The Save method must be called to save this setting to the registry.

Example Usage

Set oPrinter = CreateObject("easyPDF.Printer.8")

Set oPrintJob = oPrinter.IEPrintJob
Set oIESetting = oPrintJob.IESetting

oIESetting.PrintBGColor = True
oIESetting.Save

oPrintJob.PrintOut "C:\test\input.htm", "C:\test\output.pdf"