TreeView for WinForms | ComponentOne
C1.Win.C1ScrollBar Namespace / C1ScrollBar Class / GetScaledBounds Method
A System.Drawing.Rectangle that specifies the area for which to retrieve the display bounds.
The height and width of the control's bounds.
One of the values of System.Windows.Forms.BoundsSpecified that specifies the bounds of the control to use when defining its size and position.

In This Topic
    GetScaledBounds Method (C1ScrollBar)
    In This Topic
    Retrieves the bounds within which the control is scaled.
    Syntax
    'Declaration
     
    
    <EditorBrowsableAttribute(EditorBrowsableState.Advanced)>
    Protected Overrides Function GetScaledBounds( _
       ByVal bounds As Rectangle, _
       ByVal factor As SizeF, _
       ByVal specified As BoundsSpecified _
    ) As Rectangle
    [EditorBrowsable(EditorBrowsableState.Advanced)]
    protected override Rectangle GetScaledBounds( 
       Rectangle bounds,
       SizeF factor,
       BoundsSpecified specified
    )

    Parameters

    bounds
    A System.Drawing.Rectangle that specifies the area for which to retrieve the display bounds.
    factor
    The height and width of the control's bounds.
    specified
    One of the values of System.Windows.Forms.BoundsSpecified that specifies the bounds of the control to use when defining its size and position.

    Return Value

    A System.Drawing.Rectangle representing the bounds within which the control is scaled.
    See Also