THPDFHeadlessDocument.PageCount

Unit: HPDFHeadlessDocument

property PageCount: Integer read GetPageCount;

Return the number of page-tree leaves in the document currently loaded

Returns zero after creation or Close; the page indices accepted by ExtractPageText run from zero to PageCount - 1

API contract and format boundaries · Linux portable core