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);

パラメータ

FileHandleDAOpenFile、DAOpenFileReadOnly、または DAOpenFromStream 関数が返すハンドルです。標準情報には "Author"、"Title"、"Subject"、"Keywords"、"Creator"、または "Producer" を使用します。カスタム情報には他の任意の文字列を使用できます
Key