Partager via


MÉTHODE IDWriteFontSet ::GetPropertyValues(UINT32,DWRITE_FONT_PROPERTY_ID,BOOL*,IDWriteLocalizedStrings**) (dwrite_3.h)

Retourne les valeurs de propriété d’un index d’élément de police spécifique.

Syntaxe

HRESULT GetPropertyValues(
  UINT32                  listIndex,
  DWRITE_FONT_PROPERTY_ID propertyId,
  BOOL                    *exists,
  IDWriteLocalizedStrings **values
);

Paramètres

listIndex

Type : UINT32

Index de base zéro de la police.

propertyId

Type : DWRITE_FONT_PROPERTY_ID

Propriété de police d’intérêt.

exists

Type : [out] BOOL*

Reçoit la valeur TRUE si la police contient l’identificateur de propriété spécifié ou FALSE si ce n’est pas le cas.

values

Type : [out] IDWriteLocalizedStrings**

Reçoit un pointeur vers l’objet de chaînes localisées nouvellement créé, ou nullptr en cas d’échec ou de propriété inexistante.

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

Condition requise Valeur
Client minimal pris en charge Windows 10 (applications de bureau uniquement)
Serveur minimal pris en charge Windows Server 2016 (applications de bureau uniquement)
Plateforme cible Windows
En-tête dwrite_3.h
Bibliothèque Dwrite.lib
DLL Dwrite.dll

Voir aussi

IDWriteFontSet