System.Windows.Forms.AxHost.GetScaledBounds Method

Called by the system to retrieve the current bounds of the ActiveX control.

Syntax

[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Advanced)]
protected virtual System.Drawing.Rectangle GetScaledBounds (System.Drawing.Rectangle bounds, System.Drawing.SizeF factor, BoundsSpecified specified)

Parameters

bounds
The original bounds of the ActiveX control.
factor
A scaling factor.
specified
A System.Windows.Forms.BoundsSpecified value.

Returns

The unmodified bounds value.

Remarks

ActiveX controls scale themselves, so this method does not perform any special calculations, ignores the factor and specified values, and returns the bounds value unchanged.

Requirements

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