DAGetPageCount

Właściwości dokumentu, Funkcje dostępu bezpośredniego

Opis

Zwraca liczbę stron w dokumencie otwartym funkcją DAOpenFile.

Składnia

Delphi

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

ActiveX

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

DLL

int DLDAGetPageCount(int InstanceID, int FileHandle);

Parametry

FileHandleUchwyt zwrócony przez funkcję DAOpenFile, DAOpenFileReadOnly lub DAOpenFromStream

Wartości zwracane

0Podany FileHandle był nieprawidłowy Liczba stron w dokumencie
Wartość niezerowa