ImageEn, unit imageenio

TImageEnIO.ClosePDFFile

TImageEnIO.ClosePDFFile


Declaration

procedure ClosePDFFile();


Description

Closes the active Adobe PDF file, opened using CreatePDFFile.


Demo

Demo  Demos\InputOutput\PDFBuilder\PdfBuilder.dpr


Example

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
- SaveToPDF


See Also

- CreatePDFFile
- SaveToPDF
- SaveToFilePDF
- IECreatePDFFromFileList