TreeView for WinForms | ComponentOne
C1.Win.Interop Namespace / Rect Structure / Inflate Method / Inflate(Rect,Double,Double) Method
The Rect a copy of which is created and inflated.
The amount by which to inflate the resulting rectangle horizontally.
The amount by which to inflate the resulting rectangle vertically.

In This Topic
    Inflate(Rect,Double,Double) Method
    In This Topic
    Creates a new Rect structure from another RectangleD, inflated by the specified amounts vertically and horizontally.
    Syntax
    'Declaration
     
    
    Public Overloads Shared Function Inflate( _
       ByVal rc As Rect, _
       ByVal x As Double, _
       ByVal y As Double _
    ) As Rect
    public static Rect Inflate( 
       Rect rc,
       double x,
       double y
    )

    Parameters

    rc
    The Rect a copy of which is created and inflated.
    x
    The amount by which to inflate the resulting rectangle horizontally.
    y
    The amount by which to inflate the resulting rectangle vertically.

    Return Value

    The newly created Rect structure.
    See Also