SuspendedPageCount

ページ操作

説明

選択ドキュメントで現在中断されているページの数を返します

構文

Delphi

Function SuspendedPageCount: Integer;

ActiveX

Function PDFlib::SuspendedPageCount() As Long

DLL

int DLSuspendedPageCount(int InstanceID);

戻り値

中断ページ数。ドキュメントが読み込まれていない場合は 0 で、これは保存が要求する状態でもあります

備考

中断ページが 1 つでもあると保存は例外を起こします。0 なら SaveToFile、SaveToStream、SaveToString を実行して大丈夫です

関連項目

SuspendPage, ResumePage, IsPageSuspended