---
title: "Aspose::Cells::Drawing::Texts::ShapeTextAlignment::Equals method"
url: "https://reference.aspose.com/cells/cpp/aspose.cells.drawing.texts/shapetextalignment/equals/"
product: "Aspose.Cells for C++ API Reference"
description: "Aspose::Cells::Drawing::Texts::ShapeTextAlignment::Equals method. Determines whether this instance has the same value as another specified ShapeTextAlignment object in C++."
---

## ShapeTextAlignment::Equals method


Determines whether this instance has the same value as another specified [ShapeTextAlignment](../) object.

```cpp
bool Aspose::Cells::Drawing::Texts::ShapeTextAlignment::Equals(const Aspose::Cells::Object &obj)
```


| Parameter | Type | Description |
| --- | --- | --- |
| obj | const Aspose::Cells::Object\& | The [ShapeTextAlignment](../) object to compare with this instance. |

## ReturnValue

true if the value of the obj parameter is the same as the value of this instance; otherwise, false. If obj is null, this method returns false.

## See Also

* Class [Vector](../../../aspose.cells/vector/)
* Class [Object](../../../aspose.cells/object/)
* Class [ShapeTextAlignment](../)
* Namespace [Aspose::Cells::Drawing::Texts](../../)
* Library [Aspose.Cells for C++](../../../)
