DAGetPageCount

Documenteigenschappen, functionaliteit voor directe toegang

Beschrijving

Geeft het aantal pagina's terug in een document dat met de functie DAOpenFile is geopend

Syntaxis

Delphi

Function TPDFlib.DAGetPageCount(FileHandle: Integer): Integer;

ActiveX

Function PDFlib::DAGetPageCount(FileHandle As Long) As Long

DLL

int DLDAGetPageCount(int InstanceID, int FileHandle);

Parameters

FileHandleEen handle geretourneerd door de functies DAOpenFile, DAOpenFileReadOnly of DAOpenFromStream

Retourwaarden

0De opgegeven FileHandle was ongeldig Het aantal pagina's in het document
Non-zero