Input for WinForms | ComponentOne
C1.Framework Namespace / ElementList Class / Offset Method / Offset(Int32,Int32,Int32,Int32) Method
Horizontal offset in pixels.
Vertical offset in pixels.
Index of the first Element to be offset.
Number of elements to offset.

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

    Parameters

    x
    Horizontal offset in pixels.
    y
    Vertical offset in pixels.
    first
    Index of the first Element to be offset.
    count
    Number of elements to offset.
    See Also