AxHost.GetScaledBounds(Rectangle, SizeF, BoundsSpecified) Método

Definición

Llamado por el sistema para recuperar los límites actuales del control 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

Parámetros

bounds
Rectangle

Límites originales del control ActiveX.

factor
SizeF

Un factor de escalado.

specified
BoundsSpecified

Valor BoundsSpecified.

Devoluciones

Valor sin modificar bounds .

Comentarios

Los controles ActiveX se escalan por sí mismos, por lo que este método no realiza cálculos especiales, omite los factor valores y specified y devuelve el bounds valor sin cambios.

Se aplica a