GetDocumentID

Document management

Description

Returns the ID of the document with the specified index.

Syntax

Delphi

function TPDFlib.GetDocumentID(Index: Integer): Integer;

ActiveX

Function PDFlib::GetDocumentID(Index As Long) As Long

DLL

int DLGetDocumentID(int InstanceID, int Index);

Parameters

IndexThe index of the document to query. Must be 1 or greater.

Return values

0The specified index was out of range
Non-zeroThe ID of the specified document