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

OptimizeAfterEachProcess Property

Gets/Sets the flag that indicates whether to optimize the PDF file after each process.

Type

Boolean

Remarks

This property is turned off by default. If you set this property to True, then the Optimize method is called after each call to any of the PDFProcessor methods that modifies PDF file.

Using this method makes coding easier, but then there will be more overhead especially if you call PDFProcessor methods many times.

Example Usage

Set oProcessor = CreateObject("easyPDF.PDFProcessor.8")
oProcessor.OptimizeAfterEachProcess = True

oProcessor.RotatePages "C:\test\input.pdf", C:\test\output.pdf", 0, 0, PRC_ROT_90_DEG