Share via


Méthode IVisualProperties::GetFont (shobjidl.h)

Obtient les attributs actuels définis sur la police.

Syntaxe

HRESULT GetFont(
  [out] LOGFONTW *plf
);

Paramètres

[out] plf

Type : LOGFONTW*

Pointeur vers une structure LOGFONT qui, lorsque cette méthode retourne correctement, reçoit les attributs actuels de la police.

Valeur retournée

Type : HRESULT

Si cette méthode réussit, elle retourne S_OK. Sinon, elle retourne un code d’erreur HRESULT.

Spécifications

   
Client minimal pris en charge Windows Vista [applications de bureau uniquement]
Serveur minimal pris en charge Windows Server 2008 [applications de bureau uniquement]
Plateforme cible Windows
En-tête shobjidl.h