다음을 통해 공유


Control.Scale 메서드

정의

컨트롤과 자식 컨트롤의 크기를 조정합니다.

오버로드

Name Description
Scale(SizeF)

컨트롤과 모든 자식 컨트롤의 크기를 지정된 배율 인수로 조정합니다.

Scale(Single)
사용되지 않음.
사용되지 않음.

컨트롤과 자식 컨트롤의 크기를 조정합니다.

Scale(Single, Single)
사용되지 않음.
사용되지 않음.

전체 컨트롤과 모든 자식 컨트롤의 크기를 조정합니다.

Scale(SizeF)

Source:
Control.cs
Source:
Control.cs
Source:
Control.cs
Source:
Control.cs
Source:
Control.cs

컨트롤과 모든 자식 컨트롤의 크기를 지정된 배율 인수로 조정합니다.

public:
 void Scale(System::Drawing::SizeF factor);
public void Scale(System.Drawing.SizeF factor);
member this.Scale : System.Drawing.SizeF -> unit
Public Sub Scale (factor As SizeF)

매개 변수

factor
SizeF

SizeF 가로 및 세로 배율 인수를 포함하는 값입니다.

설명

메서드는 Scale 지정된 크기 조정을 통해 컨트롤의 크기를 조정합니다 factor. 또한 속성true이 있는 경우 모든 자식 컨트롤의 ScaleChildren 크기를 재귀적으로 조정합니다. 내부적으로 이 메서드는 각 컨트롤의 크기를 조정하기 위해 호출 ScaleControl 합니다.

추가 정보

적용 대상

Scale(Single)

Source:
Control.cs
Source:
Control.cs
Source:
Control.cs
Source:
Control.cs
Source:
Control.cs

주의

This method has been deprecated. Use the Scale(SizeF ratio) method instead. http://go.microsoft.com/fwlink/?linkid=14202

주의

This method has been deprecated. Use the Scale(SizeF ratio) method instead. https://go.microsoft.com/fwlink/?linkid=14202

컨트롤과 자식 컨트롤의 크기를 조정합니다.

public:
 void Scale(float ratio);
public void Scale(float ratio);
[System.Obsolete("This method has been deprecated. Use the Scale(SizeF ratio) method instead. http://go.microsoft.com/fwlink/?linkid=14202")]
public void Scale(float ratio);
[System.Obsolete("This method has been deprecated. Use the Scale(SizeF ratio) method instead. https://go.microsoft.com/fwlink/?linkid=14202")]
public void Scale(float ratio);
member this.Scale : single -> unit
[<System.Obsolete("This method has been deprecated. Use the Scale(SizeF ratio) method instead. http://go.microsoft.com/fwlink/?linkid=14202")>]
member this.Scale : single -> unit
[<System.Obsolete("This method has been deprecated. Use the Scale(SizeF ratio) method instead. https://go.microsoft.com/fwlink/?linkid=14202")>]
member this.Scale : single -> unit
Public Sub Scale (ratio As Single)

매개 변수

ratio
Single

크기 조정에 사용할 비율입니다.

특성

적용 대상

Scale(Single, Single)

Source:
Control.cs
Source:
Control.cs
Source:
Control.cs
Source:
Control.cs
Source:
Control.cs

주의

This method has been deprecated. Use the Scale(SizeF ratio) method instead. http://go.microsoft.com/fwlink/?linkid=14202

주의

This method has been deprecated. Use the Scale(SizeF ratio) method instead. https://go.microsoft.com/fwlink/?linkid=14202

전체 컨트롤과 모든 자식 컨트롤의 크기를 조정합니다.

public:
 void Scale(float dx, float dy);
public void Scale(float dx, float dy);
[System.Obsolete("This method has been deprecated. Use the Scale(SizeF ratio) method instead. http://go.microsoft.com/fwlink/?linkid=14202")]
public void Scale(float dx, float dy);
[System.Obsolete("This method has been deprecated. Use the Scale(SizeF ratio) method instead. https://go.microsoft.com/fwlink/?linkid=14202")]
public void Scale(float dx, float dy);
member this.Scale : single * single -> unit
[<System.Obsolete("This method has been deprecated. Use the Scale(SizeF ratio) method instead. http://go.microsoft.com/fwlink/?linkid=14202")>]
member this.Scale : single * single -> unit
[<System.Obsolete("This method has been deprecated. Use the Scale(SizeF ratio) method instead. https://go.microsoft.com/fwlink/?linkid=14202")>]
member this.Scale : single * single -> unit
Public Sub Scale (dx As Single, dy As Single)

매개 변수

dx
Single

가로 배율 인수입니다.

dy
Single

세로 배율 인수입니다.

특성

적용 대상