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

FileHandleUchwyt zwrócony przez funkcję DAOpenFile, DAOpenFileReadOnly lub DAOpenFromStream
PageRefOdwołanie do strony zwrócone przez funkcję DAFindPage lub DANewPage

Wartości zwracane

0Podany FileHandle lub PageRef był nieprawidłowy
1Strona została pomyślnie ukryta