---
title: "GetAutoScaleFont Method"
url: "https://reference.aspose.com/cells/go-cpp/displayunitlabel/getautoscalefont/"
product: "Aspose.Cells for Go via C++ API Reference"
description: "GetAutoScaleFont method. Encapsulates the function that represents getautoscalefont in Go."
---


## GetAutoScaleFont function

True if the text in the object changes font size when the object size changes. The default value is True.

```go

func (instance *DisplayUnitLabel) GetAutoScaleFont()  (bool,  error) 

```

## Remarks


## See Also

* Class [DisplayUnitLabel](../)
* Library [Aspose.Cells for Go](../../)
