DAGetInformation
文档属性、直接访问功能
描述
从文档信息部分检索信息。这可以是 Author 和 Subject 等标准信息,也可以是自定义信息
语法
Delphi
Function TPDFlib.DAGetInformation(FileHandle: Integer; Const Key: WideString): WideString;
ActiveX
Function PDFlib::DAGetInformation(FileHandle As Long, Key As String) As String
DLL
const wchar_t * DLDAGetInformation(int InstanceID, int FileHandle, const wchar_t * Key);
参数
| FileHandle | 由 DAOpenFile、DAOpenFileReadOnly 或 DAOpenFromStream 函数返回的句柄 对于标准信息,请使用 "Author"、"Title"、"Subject"、"Keywords"、"Creator" 或 "Producer"。对于自定义信息,可使用任何其他字符串 |
|---|---|
| Key |