AxHost::GetScaledBounds Method (Rectangle, SizeF, BoundsSpecified)
.NET Framework (current version)
Called by the system to retrieve the current bounds of the ActiveX control.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
protected: virtual Rectangle GetScaledBounds( Rectangle bounds, SizeF factor, BoundsSpecified specified ) override
Parameters
- bounds
-
Type:
System.Drawing::Rectangle
The original bounds of the ActiveX control.
- factor
-
Type:
System.Drawing::SizeF
A scaling factor.
- specified
-
Type:
System.Windows.Forms::BoundsSpecified
A BoundsSpecified value.
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.
.NET Framework
Available since 2.0
Available since 2.0
Show: