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
rectPdfRectangleThe rectangle.
ptPointFThe PointF to test.
Returns
- bool
This method returns
trueif the point represented by theptparameter 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
thisRectPdfRectangleThe rectangle.
rectRectangleFThe RectangleF to test.
Returns
- bool
This method returns
trueif the rectangular region represented byrectis entirely contained within the rectangular region represented by this PdfRectangle; otherwisefalse.