Table of Contents

Method Intersect

Namespace
BitMiracle.Docotic.Pdf
Assembly
BitMiracle.Docotic.Pdf.dll

Intersect(PdfRectangle, PdfRectangle)

Returns a PdfRectangle structure that represents the intersection of two rectangles. If there is no intersection, an empty PdfRectangle is returned.

public static PdfRectangle Intersect(PdfRectangle a, PdfRectangle b)

Parameters

a PdfRectangle

First rectangle to intersect.

b PdfRectangle

Second rectangle to intersect.

Returns

PdfRectangle

A PdfRectangle structure that represents the intersection of two rectangles. If there is no intersection, an empty PdfRectangle is returned.

Intersect(PdfRectangle)

Replaces this PdfRectangle structure with the intersection of itself and the specified PdfRectangle structure.

public void Intersect(PdfRectangle rect)

Parameters

rect PdfRectangle

The rectangle to intersect.