AxHost.GetScaledBounds(Rectangle, SizeF, BoundsSpecified) Metodo
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
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
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.