Skip to main content
Table of Contents

ITMSFNCCustomPDFLib.GetPageCount Method

Returns the total number of pages in the current document.

API unit family: TMSFNCPDFLib Declaring type: ITMSFNCCustomPDFLib

Syntax

FMX.TMSFNCPDFLib.hppPascalC++
function GetPageCount: Integer;
virtual int __fastcall GetPageCount() = 0;

Returns

Page count, or 0 if no document is open.