Table of Contents

Method Equals

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

Equals(object?)

Tests whether obj is a PdfRectangle with the same location and size of this PdfRectangle.

public override readonly bool Equals(object? obj)

Parameters

obj object

The object to test.

Returns

bool

This method returns true if obj is a PdfRectangle and its X, Y, Width, and Height properties are equal to the corresponding properties of this PdfRectangle; otherwise, false.

Equals(PdfRectangle)

Tests whether other has the location and size of this PdfRectangle.

public readonly bool Equals(PdfRectangle other)

Parameters

other PdfRectangle

The rectangle to test.

Returns

bool

This method returns true if X, Y, Width, and Height properties of other are equal to the corresponding properties of this PdfRectangle; otherwise, false.