title | keywords | f1_keywords | api_name | ms.assetid | ms.date | ms.localizationpriority | ||
---|---|---|---|---|---|---|---|---|
AutoScaleFont property (Excel Graph) |
vbagr10.chm5207069 |
|
|
cb21d2e7-d3b9-e135-03ba-6d45275d4590 |
04/09/2019 |
medium |
True if the text in the object changes font size when the object size changes. The default value is True. Read/write Variant.
expression.AutoScaleFont
expression Required. An expression that returns one of the objects in the Applies To list.
This example adds a title to the chart, and it causes the title font to remain the same size whenever the chart size changes.
With myChart
.HasTitle = True
.ChartTitle.Text = "1996 sales"
.ChartTitle.AutoScaleFont = False
End With
[!includeSupport and feedback]