ImageEn, unit iexClasses

TIETIFFHandler.InsertPage

TIETIFFHandler.InsertPage


Declaration

function InsertPage(pageIndex: integer = -1): integer;
function InsertPage(pageIndex: integer; sourceHandler: TIETIFFHandler; sourcePage: integer): integer;


Description

First overload inserts a new blank page at specified index.
Second overload inserts sourcePage from sourceHandler at specified index.
If pageIndex is -1 or equal to GetPagesCount the page is added at end.
Returns the index of added page.