GetCustomKeys

Document properties

Description

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 PDFlibPas 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 TPDFlib.GetCustomKeys(Location: Integer): WideString;

ActiveX

Function PDFlib::GetCustomKeys(Location As Long) As String

DLL

wchar_t * DLGetCustomKeys(int InstanceID, int Location);

Parameters

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