AxHost.GetScaledBounds(Rectangle, SizeF, BoundsSpecified) メソッド

定義

ActiveX コントロールの現在の境界を取得するためにシステムによって呼び出されます。

protected:
 override System::Drawing::Rectangle GetScaledBounds(System::Drawing::Rectangle bounds, System::Drawing::SizeF factor, System::Windows::Forms::BoundsSpecified specified);
protected override System.Drawing.Rectangle GetScaledBounds(System.Drawing.Rectangle bounds, System.Drawing.SizeF factor, System.Windows.Forms.BoundsSpecified specified);
override this.GetScaledBounds : System.Drawing.Rectangle * System.Drawing.SizeF * System.Windows.Forms.BoundsSpecified -> System.Drawing.Rectangle
Protected Overrides Function GetScaledBounds (bounds As Rectangle, factor As SizeF, specified As BoundsSpecified) As Rectangle

パラメーター

bounds
Rectangle

ActiveX コントロールの元の境界。

factor
SizeF

スケーリング 係数。

specified
BoundsSpecified

BoundsSpecified 値です。

返品

変更されていない bounds 値。

注釈

ActiveX コントロールはそれ自体をスケーリングするため、このメソッドは特別な計算を実行せず、 factor 値と specified 値を無視し、 bounds 値を変更せずに返します。

適用対象