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
| FileHandle | Uchwyt zwrócony przez funkcję DAOpenFile, DAOpenFileReadOnly lub DAOpenFromStream |
|---|
Wartości zwracane
| 0 | Podany FileHandle był nieprawidłowy Liczba stron w dokumencie |
|---|---|
| Wartość niezerowa |