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 値。

戻り値

Rectangle

未修整の bounds 値。

注釈

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

適用対象