
## compare_to(self, obj) {#System.Object}

Compare two CellArea objects according to their top-left corner.


### Returns 


If two corners are in different rows, then compare their row index. Otherwise compare their column index.
If two corners are same, then 0 will be returned.


```python

def compare_to(self, obj):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| obj | System.Object |  |



### See Also
* module [`aspose.cells`](../../)
* class [`CellArea`](/cells/python-net/aspose.cells/cellarea)
