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

Save Method

Saves all the changes globally.

Sub Save()

void Save()

void Save() throws PrinterException

Parameters

N/A.

Return Values

N/A.

Remarks

This method saves the changes globally. If you want the changes applied only to the current print job, then do not call this method.

Example Usage

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

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

' ...

' Save the above changes so that future print jobs
' will have these options by default
oPDFSetting.Save

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