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

Définition

Appelée par le système pour récupérer les limites actuelles du contrôle 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

Paramètres

bounds
Rectangle

Limites d'origine du contrôle ActiveX.

factor
SizeF

Échelle.

specified
BoundsSpecified

Valeur BoundsSpecified.

Retours

Rectangle

Valeur bounds non modifiée.

Remarques

Les contrôles ActiveX sont mis à l’échelle eux-mêmes, de sorte que cette méthode n’effectue aucun calcul spécial, ignore les valeurs et specified ignore la factor valeur et retourne la bounds valeur inchangée.

S’applique à