## AbsorbedRow::CompareTo method


Compares the current [AbsorbedRow](../) object with another [AbsorbedRow](../) object and returns an integer that indicates whether the current object precedes, follows, or occurs in the same position in the sort order as the other object.

```cpp
int32_t Aspose::Pdf::Text::AbsorbedRow::CompareTo(System::SharedPtr<AbsorbedRow> other) override
```


| Parameter | Type | Description |
| --- | --- | --- |
| other | System::SharedPtr\<AbsorbedRow\> | An [AbsorbedRow](../) object to compare with this object. |

### ReturnValue

A value that indicates the relative order of the objects being compared. The return value has the following meanings: -1: This object precedes the other object in the sort order. 0: This object occurs in the same position in the sort order as the other object. 1: This object follows the other object in the sort order.

## See Also

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [AbsorbedRow](../)
* Class [AbsorbedRow](../)
* Namespace [Aspose::Pdf::Text](../../)
* Library [Aspose.PDF for C++](../../../)
