GetCustomInformation

文件屬性

描述

從文件傳回自訂值。此函式與 SetCustomInformation

語法

Delphi

Function TPDFlib.GetCustomInformation(Const Key: WideString): WideString;

ActiveX

Function PDFlib::GetCustomInformation(Key As String) As String

DLL

const wchar_t * DLGetCustomInformation(int InstanceID, const wchar_t * Key);

參數

Key指定要取出哪個鍵的值

傳回值

指定鍵的值;找不到該鍵則為空字串。鍵為 "Author"、"Keywords"、"Subject"、"Title"、"Creator" 或 "Producer" 時也會傳回空字串。這些鍵請用 GetInformation 函式。