PdfRectangleGdiExtensions.Contains Method (PdfRectangle, PointF)

Determines if the specified point is contained within this PdfRectangle structure.

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


public static bool Contains(
	this PdfRectangle rect,
	PointF pt
Public Shared Function Contains ( 
	rect As PdfRectangle,
	pt As PointF
) As Boolean


Type: BitMiracle.Docotic.Pdf.PdfRectangle
The rectangle.
Type: System.Drawing.PointF
The PointF to test.

Return Value

Type: Boolean
This method returns true if the point represented by the pt parameter is contained within this PdfRectangle structure; otherwise false.

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