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

ImageQuality Property

Gets/Sets image quality value.

int ImageQuality { get; set; }

Property ImageQuality As Integer

def getImageQuality(self)
def setImageQuality(self, value)
int getImageQuality() throws PrinterException
void setImageQuality(int value) throws PrinterException
function getImageQuality() 
function setImageQuality($value) 
BclPrnResult GetImageQuality(BclPrinter* pPrinter, int* poutVal);
BclPrnResult SetImageQuality(BclPrinter* pPrinter, int newVal);
Property ImageQuality As Long

bepprint -quality <int>


Long (percent)


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"