ActiveReports 13
Shrink Text to Fit in a Control
ActiveReports 13 > ActiveReports User Guide > Concepts > Shrink Text to Fit in a Control

In ActiveReports, when working with the Textbox control in a page report and RDL report or a TextBox or Label control in a section report, you can use the ShrinkToFit property to reduce the size of the text so that it fits within the bounds of the control. The text shrinks at run time, so you can see the reduced font size when you preview, print or export the report.

The following image illustrates the result when the ShrinkToFit property is set to True on Title.

You can use other text formatting properties in combination with the ShrinkToFit property.


Export Support

While exporting a report, various file formats handle ShrinkToFit differently.

ShrinkToFit gets exported in all formats except Text. While rendering a page report or RDL report using rendering extensions, ShrinkToFit is not supported in XML. However, all other rendering extensions allow ShrinkToFit display as it is. See Rendering Extensions for more on rendering extensions.