Shrink fonts to fit properties

The Shrink Font To Fit property of a text component is used when the height of the text needs to be adjusted to fit the size of the text component. You can see this property in the Properties Panel.

This property can take two values. true and false, respectively, meaning the property is enabled or disabled. By default, this property is set to false.

The image below shows a component with text that is clearly larger than the size of the component.

If the Shrink Font To Fit property is set to false, the text in the viewer will look like the image below.

If the Shrink Font To Fit property is set to true, the text in the viewer will look like the image below

 Note: "Shrink Font To Fit" is a post-processing property and should be taken into account when adjusting text components. With the CanBreak and CanShrink properties enabled, when the report is rendered, the text component will take on a size corresponding to the height of the text, based on the preset font size.

The CanBreak and CanShrink properties are disabled, but Shrink Font To Fit is set to true.

The CanBreak and CanShrink properties are valid, but Shrink Font To Fit is set to true.