Control.ScaleControl(SizeF, BoundsSpecified) 메서드

정의

컨트롤의 위치, 크기, 안쪽 여백 및 여백을 조정합니다.

protected:
 virtual void ScaleControl(System::Drawing::SizeF factor, System::Windows::Forms::BoundsSpecified specified);
protected virtual void ScaleControl (System.Drawing.SizeF factor, System.Windows.Forms.BoundsSpecified specified);
abstract member ScaleControl : System.Drawing.SizeF * System.Windows.Forms.BoundsSpecified -> unit
override this.ScaleControl : System.Drawing.SizeF * System.Windows.Forms.BoundsSpecified -> unit
Protected Overridable Sub ScaleControl (factor As SizeF, specified As BoundsSpecified)

매개 변수

factor
SizeF

컨트롤의 높이와 너비 크기를 조정하는 인수입니다.

specified
BoundsSpecified

컨트롤의 크기와 위치를 정의할 때 사용할 컨트롤 범위를 지정하는 BoundsSpecified 값입니다.

예제

BoundsSpecified

Scale

GetScaledBounds

SetBoundsCore

설명

컨트롤이 최상위 수준인 경우 컨트롤 위치의 크기를 조정하지 않습니다. 자식 또는 자동으로 크기가 조정된 컨트롤의 크기는 조정되지 않습니다. 매개 변수 값을 변경하여 어떤 방향으로든 크기 조정을 생략할 specified 수 있습니다.

적용 대상