GetCustomInformationA

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 GetCustomInformation and string arguments are interpreted using the current SetAnsiMode code page

Returns a custom value from the document. This function and the SetCustomInformation

Syntax

Delphi

Function DLGetCustomInformationA(InstanceID: Integer; Key: PAnsiChar): PAnsiChar;

DLL

const char * DLGetCustomInformationA(int InstanceID, const char * Key);

Parameters

KeySpecifies which key to retrieve the value of

Return values

The value of the specified key, or an empty string if the key could not be found. An empty string will also be returned if the key is "Author", "Keywords", "Subject", "Title", "Creator" or "Producer". For these keys, use the GetInformation function