DAHidePage
Funkcje dostępu bezpośredniego, Przetwarzanie stron
Opis
Ukrywa podaną stronę dokumentu otwartego pierwotnie funkcją DAOpenFile. Zawartość strony pozostaje w dokumencie, ale strona nie będzie widoczna.
Składnia
Delphi
Function TPDFlib.DAHidePage(FileHandle, PageRef: Integer): Integer;
ActiveX
Function PDFlib::DAHidePage(FileHandle As Long, PageRef As Long) As Long
DLL
int DLDAHidePage(int InstanceID, int FileHandle, int PageRef);
Parametry
| FileHandle | Uchwyt zwrócony przez funkcję DAOpenFile, DAOpenFileReadOnly lub DAOpenFromStream |
|---|---|
| PageRef | Odwołanie do strony zwrócone przez funkcję DAFindPage lub DANewPage |
Wartości zwracane
| 0 | Podany FileHandle lub PageRef był nieprawidłowy |
|---|---|
| 1 | Strona została pomyślnie ukryta |