Control.Scale 메서드

정의

컨트롤과 자식 컨트롤의 배율을 조정합니다.

오버로드

Scale(SizeF)

컨트롤과 모든 자식 컨트롤의 배율을 지정한 배율 인수로 조정합니다.

Scale(Single)
사용되지 않습니다.
사용되지 않습니다.

컨트롤과 자식 컨트롤의 배율을 조정합니다.

Scale(Single, Single)
사용되지 않습니다.
사용되지 않습니다.

전체 컨트롤과 자식 컨트롤의 배율을 조정합니다.

Scale(SizeF)

컨트롤과 모든 자식 컨트롤의 배율을 지정한 배율 인수로 조정합니다.

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)

주의

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)

주의

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

세로 배율 인수입니다.

특성

적용 대상