---
title: "System::SequencePosition::Equals method"
url: "https://reference.aspose.com/pdf/cpp/system/sequenceposition/equals/"
product: "Aspose.PDF for C++ API Reference"
description: "System::SequencePosition::Equals method. Determines whether the current SequencePosition and the specified one represent the same position in C++."
---

## SequencePosition::Equals method


Determines whether the current [SequencePosition](../) and the specified one represent the same position.

```cpp
bool System::SequencePosition::Equals(const SequencePosition &other) const
```


| Parameter | Type | Description |
| --- | --- | --- |
| other | const SequencePosition\& | The [SequencePosition](../) to compare with the current one. |

### ReturnValue

True if both refer to the same segment object and have the same integer offset, otherwise - false.

## See Also

* Class [SequencePosition](../)
* Namespace [System](../../)
* Library [Aspose.PDF for C++](../../../)
