Table of Contents

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 PdfRectangle

The rectangle.

pt PointF

The PointF to test.

Returns

bool

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

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 PdfRectangle

The rectangle.

rect RectangleF

The RectangleF to test.

Returns

bool

This method returns true if the rectangular region represented by rect is entirely contained within the rectangular region represented by this PdfRectangle; otherwise false.