Share via


IVisualProperties ::SetItemHeight, méthode (shobjidl.h)

Définit la hauteur d’élément spécifiée.

Syntaxe

HRESULT SetItemHeight(
  [in] int cyItemInPixels
);

Paramètres

[in] cyItemInPixels

Type : int

Hauteur de l’élément, en pixels.

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 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