DAGetInformationA

Properti dokumen, Fungsionalitas akses langsung

Deskripsi

Akhiran A menandai entry point DLL ANSI (char); permukaan ActiveX/COM hanya mengekspos bentuk Unicode-nya. Perilakunya identik dengan DAGetInformation dan argumen string ditafsirkan memakai code page SetAnsiMode saat ini

Mengambil informasi dari bagian document information. Bisa berupa informasi standar seperti Author dan Subject, atau informasi kustom

Sintaks

Delphi

Function DLDAGetInformationA(InstanceID, FileHandle: Integer; Key: PAnsiChar): PAnsiChar;

DLL

const char * DLDAGetInformationA(int InstanceID, int FileHandle, const char * Key);

Parameter

FileHandleHandle yang dikembalikan oleh fungsi DAOpenFile, DAOpenFileReadOnly, atau DAOpenFromStream Untuk informasi standar gunakan "Author", "Title", "Subject", "Keywords", "Creator", atau "Producer". Untuk informasi kustom, string lain boleh dipakai
Key