ImageView.SetFrame(Int32, Int32, Int32, Int32) Méthode

Définition

Affectez une taille et une position à cette vue.

[Android.Runtime.Register("setFrame", "(IIII)Z", "GetSetFrame_IIIIHandler")]
protected virtual bool SetFrame(int l, int t, int r, int b);
[<Android.Runtime.Register("setFrame", "(IIII)Z", "GetSetFrame_IIIIHandler")>]
abstract member SetFrame : int * int * int * int -> bool
override this.SetFrame : int * int * int * int -> bool

Paramètres

l
Int32

Position de gauche, par rapport au parent

t
Int32

Position supérieure, par rapport au parent

r
Int32

Position droite, par rapport au parent

b
Int32

Position inférieure, par rapport au parent

Retours

Résultat de l’opération d’image définie.

Attributs

Remarques

Les parties de cette page sont des modifications basées sur le travail créé et partagé par le projet Android Open Source et utilisés en fonction des termes décrits dans la licence d’attribution Creative Commons 2.5.

S’applique à