Control.Scale 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
컨트롤과 자식 컨트롤의 크기를 조정합니다.
오버로드
| 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)
매개 변수
설명
메서드는 Scale 지정된 크기 조정을 통해 컨트롤의 크기를 조정합니다 factor. 또한 속성true이 있는 경우 모든 자식 컨트롤의 ScaleChildren 크기를 재귀적으로 조정합니다. 내부적으로 이 메서드는 각 컨트롤의 크기를 조정하기 위해 호출 ScaleControl 합니다.
추가 정보
- ScaleChildren
- ScaleControl(SizeF, BoundsSpecified)
- GetScaledBounds(Rectangle, SizeF, BoundsSpecified)
적용 대상
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
세로 배율 인수입니다.
- 특성