Creates a new RectangleD structure from another RectangleD, inflated by the specified amounts vertically and horizontally.

Namespace:  C1.C1Preview
Assembly:  C1.C1Report.2 (in C1.C1Report.2.dll)

Syntax

C#
public static RectangleD Inflate(
	RectangleD rc,
	double x,
	double y
)
Visual Basic
Public Shared Function Inflate ( _
	rc As RectangleD, _
	x As Double, _
	y As Double _
) As RectangleD

Parameters

rc
Type: C1.C1Preview..::..RectangleD
The RectangleD a copy of which is created and inflated.
x
Type: System..::..Double
The amount by which to inflate the resulting rectangle horizontally.
y
Type: System..::..Double
The amount by which to inflate the resulting rectangle vertically.

Return Value

The newly created RectangleD structure.

See Also