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

PrintView Property

Gets/Sets the flag that indicates whether to render the document the same way as the Print Preview when converting HTML to PDF.

The default value is False, meaning the HTML is rendered the same way as it appears on the screen.

True means the HTML is rendered as if it was printed, even though no printing is involved during the conversion process.

bool PrintView { get; set; }

Property PrintView As Boolean

def getPrintView(self)
def setPrintView(self, value)
boolean getPrintView() throws PrinterException
void setPrintView(boolean value) throws PrinterException
function getPrintView() 
function setPrintView($value) 
BclPrnResult GetPrintView(BclPrinter* pPrinter, BclBool* poutVal);
BclPrnResult SetPrintView(BclPrinter* pPrinter, BclBool newVal);
Property PrintView As Boolean

bepprint +WebKit -render screen|print

Type

Boolean

Remarks

N/A.

Example Usage

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

Set oPrintJob = oPrinter.HTMLPrintJob

oPrintJob.PrintView = True

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