PdfRectangleGdiExtensions.Inflate Method

Inflates this PdfRectangle by the specified amount.

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

Syntax

C#
public static void Inflate(
	this PdfRectangle rect,
	SizeF size
)
VB
<ExtensionAttribute>
Public Shared Sub Inflate ( 
	rect As PdfRectangle,
	size As SizeF
)

Parameters

rect
Type: BitMiracle.Docotic.Pdf.PdfRectangle
The rectangle
size
Type: System.Drawing.SizeF
The amount to inflate this rectangle.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type PdfRectangle. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

See Also