Partilhar via


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

Definição

Chamado pelo sistema para recuperar os limites atuais do controle 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

Parâmetros

bounds
Rectangle

Os limites originais do controle ActiveX.

factor
SizeF

Um fator de escala.

specified
BoundsSpecified

Um valor BoundsSpecified.

Retornos

Rectangle

O valor bounds não modificado.

Comentários

Os controles ActiveX se dimensionam, portanto, esse método não executa nenhum cálculo especial, ignora os valores e os factor valores e specified retorna o bounds valor inalterado.

Aplica-se a