Editar

Compartilhar via


Form.ScaleMinMaxSize(Single, Single, Boolean) Method

Definition

Scales the size of the form's Min and Maxproperties with the scale factor provided.

protected override void ScaleMinMaxSize (float xScaleFactor, float yScaleFactor, bool updateContainerSize = true);
override this.ScaleMinMaxSize : single * single * bool -> unit
Protected Overrides Sub ScaleMinMaxSize (xScaleFactor As Single, yScaleFactor As Single, Optional updateContainerSize As Boolean = true)

Parameters

xScaleFactor
Single

The scale factor to be applied on the width of the property being scaled.

yScaleFactor
Single

The scale factor to be applied on the height of the property being scaled.

updateContainerSize
Boolean

true to resize the Form along with properties being scaled; otherwise, false.

Applies to