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

Update Method

Retrieves the latest PDF setting from printer driver.

Sub Update()

void Update()

void Update() throws PrinterException

Parameters

N/A.

Return Values

N/A.

Remarks

When you call this method, all changes you have made will be lost, unless you call the Save method beforehand.

Example Usage

Set oPrinter = CreateObject("easyPDF.Printer.8")
Set oPrintJob = oPrinter.PrintJob
Set oPDFSetting = oPrintJob.PDFSetting

' Set options
oPDFSetting.Watermark = True
oPDFSetting.WatermarkText = "Sample"
' ...

' Refresh the PDF setting
oPDFSetting.Update

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