AxHost.GetScaledBounds(Rectangle, SizeF, BoundsSpecified) Metodo

Definizione

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 ridimensionamento.

specified
BoundsSpecified

Valore BoundsSpecified.

Valori restituiti

Valore non modificato bounds .

Commenti

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

Si applica a