PdfRectangleGdiExtensions.Intersect Method

Replaces this PdfRectangle structure with the intersection of itself and the specified RectangleF structure.

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

Syntax

C#
public static void Intersect(
	this PdfRectangle thisRect,
	RectangleF rect
)
VB
<ExtensionAttribute>
Public Shared Sub Intersect ( 
	thisRect As PdfRectangle,
	rect As RectangleF
)

Parameters

thisRect
Type: BitMiracle.Docotic.Pdf.PdfRectangle
The rectangle.
rect
Type: System.Drawing.RectangleF
The rectangle to intersect.

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