DAFindPage

Funkcionalita přímého přístupu

Popis

Tato funkce získá referenci na stránku pro použití s ostatními funkcemi Direct Access. Tato reference na stránku zůstane konstantní, i když se do dokumentu přidají nebo odeberou jiné stránky

Syntaxe

Delphi

Function TPDFlib.DAFindPage(FileHandle, Page: Integer): Integer;

ActiveX

Function PDFlib::DAFindPage(FileHandle As Long, Page As Long) As Long

DLL

int DLDAFindPage(int InstanceID, int FileHandle, int Page);

Parametry

FileHandleHandle vrácený funkcemi DAOpenFile, DAOpenFileReadOnly nebo DAOpenFromStream
PageČíslo stránky. První stránka dokumentu má číslo stránky 1

Návratové hodnoty

0Zadané FileHandle nebylo platné nebo parametr Page byl mimo rozsah
Non-zeroID, které lze použít jako parametr PageRef v jakékoli funkci direct access