TreeView for WinForms | ComponentOne
C1.Framework Namespace / ElementList Class / Offset Method / Offset(Int32,Int32) Method
Horizontal offset in pixels.
Vertical offset in pixels.

In This Topic
    Offset(Int32,Int32) Method
    In This Topic
    Adjusts the location of all Element objects in the list by the specified amount.
    Syntax
    'Declaration
     
    
    Public Overloads Sub Offset( _
       ByVal x As Integer, _
       ByVal y As Integer _
    ) 
    public void Offset( 
       int x,
       int y
    )

    Parameters

    x
    Horizontal offset in pixels.
    y
    Vertical offset in pixels.
    See Also