Méthode IInkRectangle::SetRectangle (msinkaut.h)

Définit les éléments de l’objet InkRectangle dans un seul appel.

Syntaxe

HRESULT SetRectangle(
  [in] long Top,
  [in] long Left,
  [in] long Bottom,
  [in] long Right
);

Paramètres

[in] Top

Haut du rectangle.

[in] Left

Gauche du rectangle.

[in] Bottom

Bas du rectangle.

[in] Right

À droite du rectangle.

Valeur retournée

Cette méthode peut retourner l’une de ces valeurs.

Code de retour Description
S_OK
Réussite.
E_POINTER
Un paramètre contenait un pointeur non valide.
E_INK_EXCEPTION
Une exception s’est produite à l’intérieur de la méthode.

Notes

Note L’ordre des paramètres de cette méthode (Top, Left, Bottom et Right) est différent de l’ordre attendu (Left, Top, Right et Bottom).
 

Spécifications

   
Client minimal pris en charge Windows XP Édition Tablet PC [applications de bureau uniquement]
Serveur minimal pris en charge Aucun pris en charge
Plateforme cible Windows
En-tête msinkaut.h
Bibliothèque InkObj.dll

Voir aussi

Bottom, propriété

IInkRectangle

Classe InkRectangle

Left, propriété

Right, propriété

Top, propriété