Called by the system to retrieve the current bounds of the ActiveX control.
Protected Overrides Function GetScaledBounds ( _ bounds As Rectangle, _ factor As SizeF, _ specified As BoundsSpecified _ ) As Rectangle
protected override Rectangle GetScaledBounds( Rectangle bounds, SizeF factor, BoundsSpecified specified )
protected: virtual Rectangle GetScaledBounds( Rectangle bounds, SizeF factor, BoundsSpecified specified ) override
abstract GetScaledBounds : bounds:Rectangle * factor:SizeF * specified:BoundsSpecified -> Rectangle override GetScaledBounds : bounds:Rectangle * factor:SizeF * specified:BoundsSpecified -> Rectangle
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.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2