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);

매개변수

FileHandleDAOpenFile, DAOpenFileReadOnly 또는 DAOpenFromStream 함수가 반환한 핸들

반환 값

0지정한 FileHandle이 유효하지 않음 문서의 페이지 수
Non-zero