Form.GetScaledBounds(Rectangle, SizeF, BoundsSpecified) Form.GetScaledBounds(Rectangle, SizeF, BoundsSpecified) Form.GetScaledBounds(Rectangle, SizeF, BoundsSpecified) Form.GetScaledBounds(Rectangle, SizeF, BoundsSpecified) Method

Definición

Recupera los límites dentro de los cuales se escala el control.Retrieves the bounds within which the control is scaled.

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

Parámetros

bounds
Rectangle Rectangle Rectangle Rectangle

Rectangle que especifica el área para la que se deben recuperar los límites de pantalla.A Rectangle that specifies the area for which to retrieve the display bounds.

factor
SizeF SizeF SizeF SizeF

El alto y el ancho de los límites del control.The height and width of the control's bounds.

specified
BoundsSpecified BoundsSpecified BoundsSpecified BoundsSpecified

Uno de los valores de BoundsSpecified que especifica los límites del control que se usarán al definir su tamaño y posición.One of the values of BoundsSpecified that specifies the bounds of the control to use when defining its size and position.

Devoluciones

Rectangle que representa los límites dentro de los cuales se escala el control.A Rectangle representing the bounds within which the control is scaled.

Se aplica a

Consulte también: