ImageEn, unit iexClasses

TIETIFFHandler.InsertTIFFFile

TIETIFFHandler.InsertTIFFFile


Declaration

function InsertTIFFFile(const FileName: string; pageIndex: integer): boolean;


Description

Inserts a TIFF (even multipage TIFFs) at 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
You cannot insert a Little-Endian frame into a Big-Endian file. An exception will be raised


Example

// Adds a tiff file at the start of the existing file
handler.InsertTIFFStream( 'C:\NewTiff.tiff', 0 );