Creates and returns an inflated copy of the specified PdfRectangle structure. The copy is inflated by the specified amount. The original rectangle remains unmodified.

Namespace:  BitMiracle.Docotic.Pdf
Assembly:  BitMiracle.Docotic.Pdf (in BitMiracle.Docotic.Pdf.dll)

Syntax

C#
public static PdfRectangle Inflate(
	PdfRectangle rect,
	double x,
	double y
)
VB
Public Shared Function Inflate ( 
	rect As PdfRectangle,
	x As Double,
	y As Double
) As PdfRectangle

Parameters

rect
Type: BitMiracle.Docotic.Pdf.PdfRectangle
The PdfRectangle to be copied. This rectangle is not modified.
x
Type: System.Double
The amount to inflate the copy of the rectangle horizontally.
y
Type: System.Double
The amount to inflate the copy of the rectangle vertically.

Return Value

Type: PdfRectangle
The inflated PdfRectangle

See Also