PrintDocument for WinForms | ComponentOne
C1.PrintDocument.4.5.2 Assembly / C1.C1Preview Namespace / RectangleD Structure / Inflate Method / Inflate(RectangleD,Double,Double) Method
The RectangleD 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(RectangleD,Double,Double) Method
    In This Topic
    Creates a new RectangleD structure from another RectangleD, inflated by the specified amounts vertically and horizontally.
    Syntax
    'Declaration
     
    Public Overloads Shared Function Inflate( _
       ByVal rc As RectangleD, _
       ByVal x As Double, _
       ByVal y As Double _
    ) As RectangleD
    public static RectangleD Inflate( 
       RectangleD rc,
       double x,
       double y
    )

    Parameters

    rc
    The RectangleD 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 RectangleD structure.
    See Also