ActiveReports 18 .NET Edition
MESCIUS.ActiveReports.Viewer.Common Assembly / GrapeCity.Viewer.Common Namespace / Rect Structure / Inflate Method / Inflate(Rect,Single,Single) Method
The Rect with which to start. This rectangle is not modified.
The amount to inflate the rectangle horizontally.
The amount to inflate the rectangle vertically.

In This Topic
    Inflate(Rect,Single,Single) Method
    In This Topic
    Creates and returns an enlarged copy of the specified Rect structure. The copy is enlarged by the specified amount. The original Rect structure remains unmodified.
    Syntax
    'Declaration
     
    Public Overloads Shared Function Inflate( _
       ByVal rect As Rect, _
       ByVal x As Single, _
       ByVal y As Single _
    ) As Rect
    public static Rect Inflate( 
       Rect rect,
       float x,
       float y
    )

    Parameters

    rect
    The Rect with which to start. This rectangle is not modified.
    x
    The amount to inflate the rectangle horizontally.
    y
    The amount to inflate the rectangle vertically.

    Return Value

    Rect.
    See Also