This method can be used to determine whether the specified
object is equal to the current object.
Objects are considered equal if they refer to the same
underlying object within the PDF document. So by default this
method determines object equality rather than value equality.
To perform other types of equality test you can use the overload
that accepts a ComparisonType. The comparison type specifies the
type of data to compare.
The ComparisonType enumeration is a flags type enumeration so
the different values can be combined together using bitwise
operations. It may take the following values:
- None (nothing)
- Object (the underlying PDF object)
- ID (the ID of the
- Atom (the value of the Atom)
- Data (the data associated with the stream - if this is a
Only if all the comparisons are true are the objects said to be