GetCatalogInformation

Document properties

Description

This function allows you to retrieve custom information from the "Catalog" section of the document.

Syntax

Delphi

Function TPDFlib.GetCatalogInformation(Const Key: WideString): WideString;

ActiveX

Function PDFlib::GetCatalogInformation(Key As String) As String

DLL

const wchar_t* DLGetCatalogInformation(int InstanceID, const wchar_t* Key);
const char* DLGetCatalogInformationA(int InstanceID, const char* Key);

Parameters

KeyThe name of the key to retrieve. This key must have a special prefix assigned to you by Adobe to avoid conflicts with other software.

Return values

Returns the value of the custom catalog key, or an empty string when the key is one of the reserved PDF catalog keys or not present