Label.SetBoundsCore(Int32, Int32, Int32, Int32, BoundsSpecified) 메서드

정의

레이블의 지정된 범위를 설정합니다.

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 속성 값입니다.

y
Int32

컨트롤의 새 Top 속성 값입니다.

width
Int32

컨트롤의 새 Width 속성 값입니다.

height
Int32

컨트롤의 새 Height 속성 값입니다.

specified
BoundsSpecified

BoundsSpecified 값의 비트 조합입니다. 매개 변수를 지정하지 않으면 현재 값이 사용됩니다.

설명

속성을 true설정 AutoSize 하면 레이블의 내용에 맞게 레이블 크기가 조정됩니다. 메서드를 호출 SetBoundsCore 한 후로 false 설정 AutoSize 하면 레이블이 호출에서 지정한 차원을 받게 됩니다.

적용 대상