GetCatalogInformation

文档属性

描述

此函数允许从文档的 "Catalog" 区段中检索自定义信息

语法

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);

参数

Key要检索的键名称,该键必须具有 Adobe 分配给你的特殊前缀,以避免与其他软件冲突

返回值

返回自定义目录键的值;该键属于 PDF 目录保留键或不存在时返回空字符串