PictureBox.SetBoundsCore(Int32, Int32, Int32, Int32, BoundsSpecified) 方法

定义

执行设置该控件的指定边界的工作。Performs the work of setting the specified bounds of this control.

protected:
 override void SetBoundsCore(int x, int y, int width, int height, System::Windows::Forms::BoundsSpecified specified);
protected override void SetBoundsCore (int x, int y, int width, int height, System.Windows.Forms.BoundsSpecified specified);
override this.SetBoundsCore : int * int * int * int * System.Windows.Forms.BoundsSpecified -> unit
Protected Overrides Sub SetBoundsCore (x As Integer, y As Integer, width As Integer, height As Integer, specified As BoundsSpecified)

参数

x
Int32

控件的新 Left 属性值。The new Left property value of the control.

y
Int32

控件的新 Top 属性值。The new Top property value of the control.

width
Int32

控件的新 Width 属性值。The new Width property value of the control.

height
Int32

控件的新 Height 属性值。The new Height property value of the control.

specified
BoundsSpecified

枚举值的按位组合。A bitwise combination of enumeration values.

适用于