Method Contains
- Namespace
- BitMiracle.Docotic.Pdf.Gdi
- Assembly
- BitMiracle.Docotic.Pdf.Gdi.dll
Contains(PdfRectangle, PointF)
Determines if the specified point is contained within this PdfRectangle structure.
public static bool Contains(this PdfRectangle rect, PointF pt)
Parameters
rect
PdfRectangleThe rectangle.
pt
PointFThe PointF to test.
Returns
- bool
This method returns
true
if the point represented by thept
parameter is contained within this PdfRectangle structure; otherwisefalse
.
Contains(PdfRectangle, RectangleF)
Determines if the rectangular region represented by rect
is entirely contained within this PdfRectangle structure.
public static bool Contains(this PdfRectangle thisRect, RectangleF rect)
Parameters
thisRect
PdfRectangleThe rectangle.
rect
RectangleFThe RectangleF to test.
Returns
- bool
This method returns
true
if the rectangular region represented byrect
is entirely contained within the rectangular region represented by this PdfRectangle; otherwisefalse
.