Form.AutoScale 속성

정의

주의

This property has been deprecated. Use the AutoScaleMode property instead. http://go.microsoft.com/fwlink/?linkid=14202

주의

This property has been deprecated. Use the AutoScaleMode property instead. https://go.microsoft.com/fwlink/?linkid=14202

폼의 크기가 해당 폼에 사용된 글꼴의 높이와 컨트롤의 크기에 맞게 조정되는지를 나타내는 값을 가져오거나 설정합니다.

public:
 property bool AutoScale { bool get(); void set(bool value); };
public bool AutoScale { get; set; }
[System.ComponentModel.Browsable(false)]
[System.Obsolete("This property has been deprecated. Use the AutoScaleMode property instead.  http://go.microsoft.com/fwlink/?linkid=14202")]
public bool AutoScale { get; set; }
[System.ComponentModel.Browsable(false)]
[System.Obsolete("This property has been deprecated. Use the AutoScaleMode property instead.  https://go.microsoft.com/fwlink/?linkid=14202")]
public bool AutoScale { get; set; }
member this.AutoScale : bool with get, set
[<System.ComponentModel.Browsable(false)>]
[<System.Obsolete("This property has been deprecated. Use the AutoScaleMode property instead.  http://go.microsoft.com/fwlink/?linkid=14202")>]
member this.AutoScale : bool with get, set
[<System.ComponentModel.Browsable(false)>]
[<System.Obsolete("This property has been deprecated. Use the AutoScaleMode property instead.  https://go.microsoft.com/fwlink/?linkid=14202")>]
member this.AutoScale : bool with get, set
Public Property AutoScale As Boolean

속성 값

폼에 사용된 현재 글꼴에 따라 해당 폼의 크기 및 컨트롤이 자동으로 조정되는 경우 true이고, 그렇지 않으면 false입니다. 기본값은 true입니다.

특성

설명

중요

AutoScale 사용되지 않으며 이전 버전과의 호환성을 위해 유지되었습니다. 사용되는 대체 항목은 ContainerControl.AutoScaleMode입니다. 자동 크기 조정에 대한 자세한 내용은 Windows Forms 자동 크기 조정을 참조하세요.

이 속성을 사용하면 폼과 해당 컨트롤이 글꼴의 변경 내용에 따라 자동으로 조정되도록 할 수 있습니다. 이 글꼴 커질 수 있는 애플리케이션 또는 Windows에서 사용 하기 위해 지정 된 언어에 따라 유용할 수 있습니다.

폼의 크기를 자동으로 조정하려면 속성을 사용합니다 AutoScaleBaseSize . 폼이 특정 글꼴에 따라 자동으로 크기 조정되는 크기를 확인하려면 메서드를 GetAutoScaleSize 사용합니다.

적용 대상