InputPanel for WinForms | ComponentOne
C1.Win.8 Assembly / C1.Win.Interop Namespace / Rect Structure / Offset Method / Offset(Rect,Point) Method
The rectangle to adjust.
Amount to offset the location.

In This Topic
    Offset(Rect,Point) Method
    In This Topic
    Adjusts the location of this rectangle by the specified amount.
    Syntax
    'Declaration
     
    Public Overloads Shared Function Offset( _
       ByVal r As Rect, _
       ByVal offset As Point _
    ) As Rect
    public static Rect Offset( 
       Rect r,
       Point offset
    )

    Parameters

    r
    The rectangle to adjust.
    offset
    Amount to offset the location.

    Return Value

    The adjusted rectangle.
    See Also