
## top_to_corner property


Gets and sets the vertical offset of shape from worksheet top border, in unit of pixels.

### Example 


```python

if shape.top_to_corner == 3:
    shape.top_to_corner = 1

```
### Definition:
```python
@property
def top_to_corner(self):
    ...
@top_to_corner.setter
def top_to_corner(self, value):
    ...
```

### See Also
* module [`aspose.cells.drawing`](../../)
* class [`DialogBox`](/cells/python-net/aspose.cells.drawing/dialogbox)
