DAGetInformation

Właściwości dokumentu, Funkcje dostępu bezpośredniego

Opis

Pobiera informacje z sekcji informacji dokumentu. Mogą to być standardowe informacje, takie jak Author i Subject, albo informacje niestandardowe.

Składnia

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

Parametry

FileHandleUchwyt zwrócony przez funkcję DAOpenFile, DAOpenFileReadOnly lub DAOpenFromStream W przypadku informacji standardowych użyj "Author", "Title", "Subject", "Keywords", "Creator" lub "Producer". W przypadku informacji niestandardowych można użyć dowolnego innego ciągu.
Key