System.Windows.Forms.ContainerControl.AutoScaleFactor Property

Gets the scaling factor between the current and design-time automatic scaling dimensions.

Syntax

protected System.Drawing.SizeF AutoScaleFactor { get; }

Value

Documentation for this section has not yet been entered.

Remarks

The ContainerControl.AutoScaleFactor property represents the scaling factor between the ContainerControl.CurrentAutoScaleDimensions and ContainerControl.AutoScaleDimensions properties. This value is calculated when it is required. For example, if ContainerControl.CurrentAutoScaleDimensions is (192, 144) and ContainerControl.AutoScaleDimensions is (96, 96) then the ContainerControl.AutoScaleFactor is (2.0, 1.5).

For more information about automatic scaling, see Automatic Scaling in Windows Forms.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0