AxHost.GetScaledBounds(Rectangle, SizeF, BoundsSpecified) Metoda

Definicja

Wywoływane przez system w celu pobrania bieżących granic kontrolki 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

Parametry

bounds
Rectangle

Oryginalne granice kontrolki ActiveX.

factor
SizeF

Współczynnik skalowania.

specified
BoundsSpecified

Wartość BoundsSpecified .

Zwraca

Rectangle

Niezmodyfikowana bounds wartość.

Uwagi

Kontrolki ActiveX są skalowane samodzielnie, więc ta metoda nie wykonuje żadnych specjalnych obliczeń, ignoruje factor wartości i specified i zwraca bounds wartość bez zmian.

Dotyczy