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

specified
BoundsSpecified

Um BoundsSpecified valor.

Retornos

O valor não modificado bounds .

Comentários

Os controles ActiveX são dimensionados, portanto, esse método não executa cálculos especiais, ignora os factor valores e specified os valores e retorna o bounds valor inalterado.

Aplica-se a