Click or drag to resize
Pdf Library for .NET

RectangleFContains(Single, Single) Method

Tests whether the specified point is contained within this rectangle.

Namespace: SelectPdf.Universal.Drawing
Assembly: SelectPdf.Universal (in SelectPdf.Universal.dll) Version: 26.4
Syntax
public bool Contains(
	float x,
	float y
)

Parameters

x  Single
The X coordinate of the point to test.
y  Single
The Y coordinate of the point to test.

Return Value

Boolean
True if the point lies inside the rectangle; otherwise false.
See Also