Declaration
procedure ClosePDFFile();
Description
Close the active Adobe PDF file, opened using
CreatePDFFile.
| Demos\PDF\PDFBuilder\PdfBuilder.dpr |
IEGlobalSettings().PDFEngine := ieenNative;
ImageEnView1.IO.CreatePDFFile( 'D:\output.pdf' );
ImageEnView1.IO.Params.PDF_PaperSize := iepA4;
ImageEnView1.IO.Params.PDF_PageMargin := Round( 0.25 * 72 ); // 1/4 inch
ImageEnView1.IO.Params.PDF_ImageOptions := [ iepioCentered ]; // Center images
// load and save page 1
ImageEnView1.IO.LoadFromFile('C:\page1.tiff');
ImageEnView1.IO.Params.PDF_Compression := ioPDF_G4FAX; // G4Fax compression
ImageEnView1.IO.SaveToPDF();
// load and save page 2
ImageEnView1.IO.LoadFromFile('C:\page2.tiff');
ImageEnView1.IO.Params.PDF_Compression := ioPDF_G4FAX; // G4Fax compression
ImageEnView1.IO.SaveToPDF();
...Other pages...
// close PDF file
ImageEnView1.IO.ClosePDFFile();
See Also
◼CreatePDFFile
◼SaveToPDF
See Also
◼CreatePDFFile
◼SaveToPDF
◼SaveToFilePDF
◼IECreatePDFFromFileList