AxHost.GetScaledBounds(Rectangle, SizeF, BoundsSpecified) Metodo

Definizione

Viene chiamato dal sistema per recuperare i limiti correnti del controllo 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

Parametri

bounds
Rectangle

Limiti originali del controllo ActiveX.

factor
SizeF

Fattore di scala.

specified
BoundsSpecified

Valore BoundsSpecified.

Restituisce

Rectangle

Valore bounds invariato.

Commenti

I controlli ActiveX si ridimensionano, quindi questo metodo non esegue calcoli speciali, ignora i factor valori e specified e restituisce il bounds valore invariato.

Si applica a