Declaration
property PageCount: Integer;
Description
Returns the count of pages in the PDF object.
// 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