GetCustomKeys

文件屬性

描述

以 CSV 字串傳回 Document Information Dictionary 或 Document Catalog 中的所有自訂鍵。這些鍵下資料的操作方式請參閱 SetCustomInformation 與 GetCustomInformation 函式

由 PDF 規格或 PDF Library for Delphi 管理的系統鍵不會回傳。Catalog 鍵包括 OutputIntents、Extensions、Requirements、Collection 與 NeedsRendering,PDF/A 設定與其他程式庫管理的 Catalog 結構因此不會被當成自訂應用程式資料暴露出來。

語法

Delphi

Function TPDFlib.GetCustomKeys(Location: Integer): WideString;

ActiveX

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

DLL

const wchar_t * DLGetCustomKeys(int InstanceID, int Location);

參數

Location要取出自訂鍵名稱的位置:1 = Document Information Dictionary 2 = Document Catalog