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
Returns
- bool
This method returns
true
ifobj
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
PdfRectangleThe rectangle to test.
Returns
- bool
This method returns
true
if X, Y, Width, and Height properties ofother
are equal to the corresponding properties of this PdfRectangle; otherwise,false
.