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

Reset Method

Resets to initial setting values.

Sub Reset()

void Reset()

void Reset() throws PrinterException

Parameters

N/A.

Return Values

N/A.

Remarks

This method reverts all the changes to the PDFSetting object you have made.

Example Usage

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

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

' ...

' Reset the above changes
oPDFSetting.Reset

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