Språk

AxHost.GetScaledBounds(Rectangle, SizeF, BoundsSpecified) Metod

Definition

Anropas av systemet för att hämta de aktuella gränserna för ActiveX-kontrollen.

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

Parametrar

bounds
Rectangle

De ursprungliga gränserna för ActiveX-kontrollen.

factor
SizeF

En skalningsfaktor.

specified
BoundsSpecified

Ett BoundsSpecified värde.

Returer

Det oförändrade bounds värdet.

Kommentarer

ActiveX-kontroller skalar sig själva, så den här metoden utför inga särskilda beräkningar, ignorerar factor värdena och specified och returnerar bounds värdet oförändrat.

Gäller för