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 函数