GetCustomKeysA

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

Returns all the custom keys in either the Document Information Dictionary or Document Catalog as a CSV string. See the SetCustomInformation and GetCustomInformation functions for details of how to manipulate the data stored under these keys

System keys managed by the PDF specification or by PDF Library for Delphi are not returned. For Catalog keys this includes OutputIntents, Extensions, Requirements, Collection, and NeedsRendering, so PDF/A setup and other library-managed Catalog structures are not exposed as custom application data

Syntax

Delphi

Function DLGetCustomKeysA(InstanceID, Location: Integer): PAnsiChar;

DLL

const char * DLGetCustomKeysA(int InstanceID, int Location);

Parameters

LocationThe location to extract custom key names from: 1 = Document Information Dictionary 2 = Document Catalog