Input for WinForms | ComponentOne
C1.Win.Interop Namespace / Rect Structure / Offset Method / Offset(Double,Double) Method
The horizontal offset to apply.
The vertical offset to apply.

In This Topic
    Offset(Double,Double) Method
    In This Topic
    Offsets the location of the current Rect by specified horizontal and vertical amounts.
    Syntax
    'Declaration
     
    
    Public Overloads Sub Offset( _
       ByVal x As Double, _
       ByVal y As Double _
    ) 
    public void Offset( 
       double x,
       double y
    )

    Parameters

    x
    The horizontal offset to apply.
    y
    The vertical offset to apply.
    See Also