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

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

Syntax

C#
public bool Contains(
	float x,
	float y
)
VB
Public Function Contains ( 
	x As Single,
	y As Single
) As Boolean

Parameters

x
Type: System.Single
The x-coordinate of the point to test.
y
Type: System.Single
The y-coordinate of the point to test.

Return Value

Type: Boolean
This method returns true if the point defined by x and y is contained within this PdfRectangle structure; otherwise false.

See Also