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

ImageQuality Property

Gets/Sets image quality value.

Type

Long (percent)

Remarks

The allowed value range is from 5 to 100 with 100 being the highest quality.

Note: This property is used only when the ImageCompression property is set to either JPEG or JPEG 2000.

Example Usage

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

oPDFSetting.ImageCompression = PRN_IMAGE_COMPRESS_JPEG
oPDFSetting.ImageQuality = 85
oPDFSetting.ImageDownsizing = True
oPDFSetting.ImageDownsizeResolution = 300

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