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

ImageQuality Property

Get/Set image quality.

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 ImageFormat property is set to JPEG or TIFF with JPEG compression.

Example Usage

Set oConverter = CreateObject("easyPDF.PDFConverter.8")
Set oPDF2Image = oConverter.PDF2Image
 
oPDF2Image.ImageResolution = 72
oPDF2Image.ImageColor = CNV_IMAGE_CLR_24BIT
oPDF2Image.ImageFormat = CNV_IMAGE_FMT_JPEG
oPDF2Image.ImageQuality = 85
 
oPDF2Image.Convert "C:\test\input.pdf", "C:\test\output.jpg"