Freigeben über


Form.ApplyAutoScaling-Methode

Diese Methode unterstützt die .NET Framework-Infrastruktur und ist nicht für die direkte Verwendung in Code bestimmt.

HINWEIS: Diese Methode ist mittlerweile veraltet. Die nicht veraltete Alternative ist PerformAutoScale.

Ändert die Größe des Formulars entsprechend dem aktuellen Wert der AutoScaleBaseSize-Eigenschaft und der Größe der aktuellen Schriftart.

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in system.windows.forms.dll)

Syntax

'Declaration
<ObsoleteAttribute("This method has been deprecated. Use the ApplyAutoScaling method instead.  https://go.microsoft.com/fwlink/?linkid=14202")> _
Protected Sub ApplyAutoScaling
'Usage

Me.ApplyAutoScaling
[ObsoleteAttribute("This method has been deprecated. Use the ApplyAutoScaling method instead.  https://go.microsoft.com/fwlink/?linkid=14202")] 
protected void ApplyAutoScaling ()
[ObsoleteAttribute(L"This method has been deprecated. Use the ApplyAutoScaling method instead.  https://go.microsoft.com/fwlink/?linkid=14202")] 
protected:
void ApplyAutoScaling ()
/** @attribute ObsoleteAttribute("This method has been deprecated. Use the ApplyAutoScaling method instead.  https://go.microsoft.com/fwlink/?linkid=14202") */ 
protected void ApplyAutoScaling ()
ObsoleteAttribute("This method has been deprecated. Use the ApplyAutoScaling method instead.  https://go.microsoft.com/fwlink/?linkid=14202") 
protected function ApplyAutoScaling ()

Hinweise

Bei dieser Verfahrensweise wird die Formulargröße mithilfe der AutoScaleBaseSize-Eigenschaft und des Size-Werts bestimmt, der von der GetAutoScaleSize-Methode zurückgegeben wird.

Plattformen

Windows 98, Windows 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile für Pocket PC, Windows Mobile für Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

.NET Framework unterstützt nicht alle Versionen sämtlicher Plattformen. Eine Liste der unterstützten Versionen finden Sie unter Systemanforderungen.

Versionsinformationen

.NET Framework

Unterstützt in: 1.0, 1.1
Veraltet (Compilerwarnung) in 2.0

Siehe auch

Referenz

Form-Klasse
Form-Member
System.Windows.Forms-Namespace