Ribbon for WinForms | ComponentOne
C1.Win.Ribbon Namespace / C1RibbonForm Class / ScaleControl(SizeF,BoundsSpecified) Method
The factor by which the height and width of the control will be scaled.
A System.Windows.Forms.BoundsSpecified value that specifies the bounds of the control to use when defining its size and position.

In This Topic
    ScaleControl(SizeF,BoundsSpecified) Method
    In This Topic
    Scales a control's location, size, padding and margin.
    Syntax
    'Declaration
     
    
    Protected Overrides Sub ScaleControl( _
       ByVal factor As SizeF, _
       ByVal specified As BoundsSpecified _
    ) 
    protected override void ScaleControl( 
       SizeF factor,
       BoundsSpecified specified
    )

    Parameters

    factor
    The factor by which the height and width of the control will be scaled.
    specified
    A System.Windows.Forms.BoundsSpecified value that specifies the bounds of the control to use when defining its size and position.
    See Also