DAGetAnnotationCount

Funkcje dostępu bezpośredniego

Opis

Zwraca liczbę adnotacji na wskazanej stronie

Składnia

Delphi

Function TPDFlib.DAGetAnnotationCount(FileHandle, PageRef: Integer): Integer;

ActiveX

Function PDFlib::DAGetAnnotationCount(FileHandle As Long, PageRef As Long) As Long

DLL

int DLDAGetAnnotationCount(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

Zwraca liczbę adnotacji na podanej stronie. Zwraca 0, gdy uchwyt pliku lub odwołanie do strony są nieprawidłowe.