DAGetInformationA
Documenteigenschappen, functionaliteit voor directe toegang
Beschrijving
De afsluitende A geeft het ANSI (char)-DLL-entrypoint aan; het ActiveX/COM-oppervlak biedt alleen de Unicode-vorm. Het gedrag is identiek aan DAGetInformation en stringargumenten worden geïnterpreteerd volgens de huidige SetAnsiMode-codepagina
Haalt informatie uit het documentinformatiegedeelte op. Dat kan standaardinformatie zijn zoals Author en Subject, of custominformatie
Syntaxis
Delphi
Function DLDAGetInformationA(InstanceID, FileHandle: Integer; Key: PAnsiChar): PAnsiChar;
DLL
const char * DLDAGetInformationA(int InstanceID, int FileHandle, const char * Key);
Parameters
| FileHandle | Een handle geretourneerd door de functies DAOpenFile, DAOpenFileReadOnly of DAOpenFromStream Voor standaardinformatie gebruikt u "Author", "Title", "Subject", "Keywords", "Creator" of "Producer". Voor custominformatie kan elke andere string worden gebruikt |
|---|---|
| Key |