DAGetInformation

Document properties, Direct access functionality

Description

Retrieves information from the document information section. This could be standard information such as Author and Subject, or custom information.

Syntax

Delphi

function TPDFlib.DAGetInformation(FileHandle: Integer; Const Key: WideString): WideString;

ActiveX

Function PDFlib::DAGetInformation(FileHandle As Long, Key As String) As String

DLL

wchar_t * DLDAGetInformation(int InstanceID, int FileHandle, wchar_t * Key);

Parameters

FileHandleA handle returned by the DAOpenFile, DAOpenFileReadOnly or DAOpenFromStream functions For standard information use "Author", "Title", "Subject", "Keywords", "Creator", or "Producer". For custom information any other string can be used.
Key