DAGetAnnotationCount

Functionaliteit voor directe toegang

Beschrijving

Geeft het aantal annotaties op de opgegeven pagina terug

Syntaxis

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);

Parameters

FileHandleEen handle geretourneerd door de functies DAOpenFile, DAOpenFileReadOnly of DAOpenFromStream
PageRefEen paginareferentie die door de functies DAFindPage of DANewPage wordt geretourneerd

Retourwaarden

Retourneert het aantal annotaties op de opgegeven pagina. Retourneert 0 wanneer de bestandshandle of paginaverwijzing ongeldig is.