ComponentOne SuperTooltip for WinForms
C1.Win.8 Assembly / 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 System.Integer, _
       ByVal y As System.Integer, _
       ByVal first As System.Integer, _
       ByVal count As System.Integer _
    ) 
    public void Offset( 
       System.int x,
       System.int y,
       System.int first,
       System.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