Form.ApplyAutoScaling Metod
Definition
Viktigt
En del information gäller för förhandsversionen av en produkt och kan komma att ändras avsevärt innan produkten blir allmänt tillgänglig. Microsoft lämnar inga garantier, uttryckliga eller underförstådda, avseende informationen som visas här.
Varning
This method has been deprecated. Use the ApplyAutoScaling method instead. http://go.microsoft.com/fwlink/?linkid=14202
Varning
This method has been deprecated. Use the ApplyAutoScaling method instead. https://go.microsoft.com/fwlink/?linkid=14202
Ändrar storlek på formuläret enligt det aktuella värdet för AutoScaleBaseSize egenskapen och storleken på det aktuella teckensnittet.
protected:
void ApplyAutoScaling();
protected void ApplyAutoScaling();
[System.Obsolete("This method has been deprecated. Use the ApplyAutoScaling method instead. http://go.microsoft.com/fwlink/?linkid=14202")]
protected void ApplyAutoScaling();
[System.Obsolete("This method has been deprecated. Use the ApplyAutoScaling method instead. https://go.microsoft.com/fwlink/?linkid=14202")]
protected void ApplyAutoScaling();
member this.ApplyAutoScaling : unit -> unit
[<System.Obsolete("This method has been deprecated. Use the ApplyAutoScaling method instead. http://go.microsoft.com/fwlink/?linkid=14202")>]
member this.ApplyAutoScaling : unit -> unit
[<System.Obsolete("This method has been deprecated. Use the ApplyAutoScaling method instead. https://go.microsoft.com/fwlink/?linkid=14202")>]
member this.ApplyAutoScaling : unit -> unit
Protected Sub ApplyAutoScaling ()
- Attribut
Kommentarer
Den här metoden bestämmer formulärstorleken med hjälp av värdet för AutoScaleBaseSize egenskapen och värdet Size som returneras av GetAutoScaleSize metoden.