GetCustomKeysA

文档属性

描述

末尾的 A 表示 ANSI(char)DLL 入口点;ActiveX/COM 接口仅公开 Unicode 形式。其行为与 GetCustomKeys 相同,字符串参数按当前 SetAnsiMode 代码页解释

以 CSV 字符串形式返回文档信息字典或文档目录中的所有自定义键,有关如何操作存储在这些键下的数据,请参阅 SetCustomInformation 和 GetCustomInformation 函数

不返回由 PDF 规范或 PDF Library for Delphi 管理的系统键。对于 Catalog 键,这包括 OutputIntents、Extensions、Requirements、Collection 和 NeedsRendering,因此 PDF/A 设置及其他由库管理的 Catalog 结构不会作为自定义应用程序数据公开

语法

Delphi

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

DLL

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

参数

Location提取自定义键名的位置:1 = 文档信息字典;2 = 文档目录