Skip to main content
Table of Contents

TTMSFNCPDFLib.GetPageCount Method

Returns the total number of pages in the active document.

API unit family: TMSFNCPDFLib Declaring type: TTMSFNCPDFLib Inherited from: TTMSFNCCustomPDFLib

Syntax

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

Returns

Page count; 0 when no document is active.