Compartilhar via


ImageView.SetFrame(Int32, Int32, Int32, Int32) Method

Definition

Assign a size and position to this view.

[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

Parameters

l
Int32

Left position, relative to parent

t
Int32

Top position, relative to parent

r
Int32

Right position, relative to parent

b
Int32

Bottom position, relative to parent

Returns

Attributes

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to