DAGetPageCount

文件屬性、直接存取功能

描述

傳回以 DAOpenFile 函式開啟文件的頁數

語法

Delphi

Function TPDFlib.DAGetPageCount(FileHandle: Integer): Integer;

ActiveX

Function PDFlib::DAGetPageCount(FileHandle As Long) As Long

DLL

int DLDAGetPageCount(int InstanceID, int FileHandle);

參數

FileHandle由 DAOpenFile、DAOpenFileReadOnly 或 DAOpenFromStream 函式傳回的控制代碼

傳回值

0指定的 FileHandle 無效 文件中的頁數
Non-zero