Declaration
procedure ClosePDFFile();
Description
Closes the active Adobe PDF file, opened using
CreatePDFFile.
| Demos\PDF\PDFBuilder\PdfBuilder.dpr |
IEGlobalSettings().PDFEngine := ieenNative;
ImageEnView1.IO.CreatePDFFile( 'D:\output.pdf' );
// 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◼SaveToPDFSee Also
◼CreatePDFFile◼SaveToPDF◼SaveToFilePDF◼IECreatePDFFromFileList