ImageEn, unit iexClasses

TIETIFFHandler.InsertPageAsFile

TIETIFFHandler.InsertPageAsFile

Declaration

function InsertPageAsFile(const FileName: string; pageIndex: Integer): Boolean;

Description

Inserts a supported file format (jpeg, bmp, ..) at the specified page index

TIETIFFHandler Page Insertion Methods:
◼Insert from a TIFF file: InsertTIFFFile
◼Insert from any image file: InsertPageAsFile
◼Insert from a TIFF stream: InsertTIFFStream
◼Insert from any image stream: InsertPageAsStream
◼Insert from a bitmap: InsertPageAsImage

Note: The first page has pageIndex of 0.

Example

// Adds a JPEG file at the start of the TIFF file
handler.InsertPageAsFile( 'C:\Heading.jpeg', 0 );