DAGetInformation

Propriedades do documento, Funcionalidade de acesso direto

Descrição

Recupera informações da seção de informações do documento. Podem ser informações padrão como Author e Subject, ou informações personalizadas

Sintaxe

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

Parâmetros

FileHandleUm handle retornado pelas funções DAOpenFile, DAOpenFileReadOnly ou DAOpenFromStream For standard information use "Author", "Title", "Subject", "Keywords", "Creator", or "Producer". For custom information any other string can be used.
Key