Form.GetScaledBounds(Rectangle, SizeF, BoundsSpecified) Metoda

Definicja

Pobiera granice, w których jest skalowana kontrolka.

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

Element Rectangle określający obszar, dla którego mają być pobierane granice wyświetlania.

factor
SizeF

Wysokość i szerokość granic kontrolki.

specified
BoundsSpecified

Jedna z wartości BoundsSpecified określa granice kontrolki do użycia podczas definiowania jej rozmiaru i położenia.

Zwraca

Rectangle

Reprezentująca Rectangle granice, w których jest skalowana kontrolka.

Dotyczy

Zobacz też