PDFSaveUseDPI Example for C++ Builder
LEADRasterIO * pRasterIO=NULL;
CoCreateInstance(CLSID_LEADRasterIO, NULL, CLSCTX_ALL,
IID_ILEADRasterIO, (void**)&pRasterIO);
//Use image DPI when saving as PDF
pRasterIO->PDFSaveUseDPI = TRUE;
//Save image as Raster PDF with CCITT G4 compression
pRasterIO->Save (LEADRasterView1->Raster,
AnsiToOLESTR("c:\\temp\\tmp.pdf"),
FILE_RAS_PDF_G4, 1,
(QFactorConstants)1, SAVE_OVERWRITE);
pRasterIO->Release();