Available in the LEADTOOLS Imaging toolkit. |
PDFSaveUseDPI example for C++ 4.0 and later
void CPdfSaveDlg::OnSave()
{
//Use image DPI when saving as PDF .
m_LEAD.SetPDFSaveUseDPI(TRUE);
//Save image as Raster PDF with CCITT G4 compression
m_LEAD.Save ("c:\\tmp.pdf", FILE_RAS_PDF_G4, 1, 1, SAVE_OVERWRITE);
}