TreeView for WinForms | ComponentOne
C1.Framework Namespace / IView Interface / GetBounds Method / GetBounds(Element) Method
IView.Element to locate.

In This Topic
    GetBounds(Element) Method
    In This Topic
    Gets the rectangle that contains a given element.
    Syntax
    'Declaration
     
    
    Overloads Function GetBounds( _
       ByVal e As Element _
    ) As Rectangle
    Rectangle GetBounds( 
       Element e
    )

    Parameters

    e
    IView.Element to locate.

    Return Value

    Bounds of element e, in client coordinates.
    See Also