ImageEn, unit iexClasses

TIETIFFHandler.InsertTIFFStream

TIETIFFHandler.InsertTIFFStream

Declaration

function InsertTIFFStream(Stream: TStream; pageIndex: Integer): Boolean;

Description

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

Example

// Adds a tiff stream at the start of the existing file
handler.InsertTIFFStream( aStream, 0 );