SuspendedPageCount

Page manipulation

Description

Returns how many pages of the selected document are currently suspended

Syntax

Delphi

Function SuspendedPageCount: Integer;

ActiveX

Function PDFlib::SuspendedPageCount() As Long

DLL

int DLSuspendedPageCount(int InstanceID);

Return values

Number of suspended pages; 0 when no document is loaded, which is also the state saving requires

Remarks

Saving raises while any page is suspended, so a value of 0 is the green light for SaveToFile, SaveToStream and SaveToString

See also

SuspendPage, ResumePage, IsPageSuspended