Input for WinForms | ComponentOne
C1.Win.Interop Namespace / Rect Structure / Inflate Method / Inflate(Double,Double) Method
The amount to add on the left and right of the current Rect.
The amount to add at the top and bottom of the current Rect.

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

    Parameters

    x
    The amount to add on the left and right of the current Rect.
    y
    The amount to add at the top and bottom of the current Rect.
    See Also