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
trueifobjis 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
otherPdfRectangleThe rectangle to test.
Returns
- bool
This method returns
trueif X, Y, Width, and Height properties ofotherare equal to the corresponding properties of this PdfRectangle; otherwise,false.