Skip to main content
A newer version of this page is available. .

TextInfoControlBase.AutoScaleFont Property

Gets or sets whether the control’s font is modified automatically, so that the text fits the control’s dimensions.

Namespace: DevExpress.XtraScheduler.Reporting

Assembly: DevExpress.XtraScheduler.v18.2.Reporting.dll

Declaration

[DefaultValue(true)]
public bool AutoScaleFont { get; set; }

Property Value

Type Default Description
Boolean **true**

true to scale the control’s font automatically; otherwise, false.

Remarks

The AutoScaleFont is set to true to make the font size smaller as the text becomes longer, so that it always fits the control’s boundaries. To maintain the font size, turn off autoscaling by setting the AutoScaleFont to false.

See Also