ImageEn, unit iepdf

TIEPDFBuilder.CurrentPageIndex

TIEPDFBuilder.CurrentPageIndex


Declaration

property CurrentPageIndex: Integer;


Description

Specifies the index of the current page, i.e. the page that will be modified if we call AddEllipse, AddImage, AddLinePath or AddText

Note: CurrentPageIndex is set automatically when calling AddPage


Example

// Add text to every page
for I := 0 to pdf.PageCount - 1 do
begin
  pdf.CurrentPageIndex := I;
  pdf.AddText( 0, 100, 'My Test PDF', 36, 'Times-Roman');
end;


See Also

PageCount