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 目錄保留鍵或不存在時傳回空字串