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

ImageDownsizing Property

Enables/Disables image downsizing.

bool ImageDownsizing { get; set; }

Property ImageDownsizing As Boolean

def getImageDownsizing(self)
def setImageDownsizing(self, value)
boolean getImageDownsizing() throws PrinterException
void setImageDownsizing(boolean value) throws PrinterException
function getImageDownsizing() 
function setImageDownsizing($value) 
BclPrnResult GetImageDownsizing(BclPrinter* pPrinter, BclBool* poutVal);
BclPrnResult SetImageDownsizing(BclPrinter* pPrinter, BclBool newVal);
Property ImageDownsizing As Boolean

bepprint -downsize none|<int>

Type

Boolean

Remarks

If the this property is set to True, then the resolution of images are reduced to the DPI value specified in the ImageDownsizeResolution property.

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"