ImageEn, unit iepdf

TIEPDFBuilder.PageCount

TIEPDFBuilder.PageCount


Declaration

property PageCount: Integer;


Description

Returns the count of pages in the PDF object.


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

CurrentPageIndex