GetCustomKeysA

文件屬性

描述

結尾的 A 表示 ANSI(char)DLL 進入點;ActiveX/COM 介面只提供 Unicode 形式。行為與 GetCustomKeys 完全相同,字串參數依目前 SetAnsiMode 的字碼頁解讀

以 CSV 字串傳回 Document Information Dictionary 或 Document Catalog 中的所有自訂鍵。這些鍵下資料的操作方式請參閱 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 = Document Information Dictionary 2 = Document Catalog