---
title: "auto_scale_font property"
url: "https://reference.aspose.com/cells/python-net/aspose.cells.charts/datalabels/auto_scale_font/"
product: "Aspose.Cells for Python via .NET API References"
---


## auto_scale_font property


True if the text in the object changes font size when the object size changes. The default value is True.
### Definition:
```python
@property
def auto_scale_font(self):
    ...
@auto_scale_font.setter
def auto_scale_font(self, value):
    ...
```

### See Also
* module [`aspose.cells.charts`](../../)
* class [`DataLabels`](/cells/python-net/aspose.cells.charts/datalabels)
