GetCustomInformationA

Proprietà del documento

Descrizione

Il suffisso A indica l'entry point DLL ANSI (char); l'interfaccia ActiveX/COM espone soltanto la forma Unicode. Il comportamento è identico a GetCustomInformation e gli argomenti stringa vengono interpretati usando la code page corrente di SetAnsiMode

Restituisce un valore personalizzato dal documento. Questa funzione e SetCustomInformation

Sintassi

Delphi

Function DLGetCustomInformationA(InstanceID: Integer; Key: PAnsiChar): PAnsiChar;

DLL

const char * DLGetCustomInformationA(int InstanceID, const char * Key);

Parametri

KeySpecifica la chiave di cui recuperare il valore

Valori restituiti

Valore della chiave o stringa vuota se assente. Restituisce vuoto anche per "Author", "Keywords", "Subject", "Title", "Creator" o "Producer"; per queste usare GetInformation