Form.GetScaledBounds(Rectangle, SizeF, BoundsSpecified) Metoda

Definice

Načte hranice, ve kterých je ovládací prvek škálován.

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

A Rectangle , která určuje oblast, pro kterou se mají načíst hranice zobrazení.

factor
SizeF

Výška a šířka hranic ovládacího prvku.

specified
BoundsSpecified

Jedna z hodnot BoundsSpecified , které určují hranice ovládacího prvku, které se mají použít při definování jeho velikosti a pozice.

Návraty

Rectangle

Představuje Rectangle hranice, ve kterých je ovládací prvek škálován.

Platí pro

Viz také