GetDocumentIdentifierA

Document properties

Description

The trailing A denotes the ANSI (char) DLL entry point; the ActiveX/COM surface exposes only the Unicode form. Behaviour is identical to GetDocumentIdentifier and string arguments are interpreted using the current SetAnsiMode code page

Returns the document identifier. This identifier consists of two parts, each strings. The first string does not change when the document is resaved with an "incremental update" in Acrobat. This can be seen as the permanent identifier for the document. The second part will change each time the document is resaved, even if the resave is an incremental update.

Syntax

Delphi

Function DLGetDocumentIdentifierA(InstanceID, Part, Options: Integer): PAnsiChar;

DLL

const char * DLGetDocumentIdentifierA(int InstanceID, int Part, int Options);

Parameters

Part0 = Permanent identifier 1 = Changeable identifier
Options0 = Return the identifier as a string of characters 1 = Return the identifier as a hexadecimal string