Partager via


How to: Change Font Settings in Report Controls

You can change font settings in Field and Label controls. You can change the font setting in an existing control or the default font setting for new controls.

Note

When you set the default font, the setting applies only to new Field and Label controls that you add to the page layout. To change the font and size for existing Field and Label controls, select the controls you want, and then change the font from the Format menu.

For more information about setting the default font for the page layout and new report controls, see How to: Change Page Settings for Reports.

To change the font for an existing Field or Label report control

  1. Open the report or label in the appropriate designer.

  2. In the designer, click the Field or Label report control you want to change.

  3. On the Format menu, click Font.

  4. In the Font dialog box, select the font style and size you want, and then click OK.

    Important Note:

    Field expression and text label controls are initially created without a specific font script. Selecting a non-default font using the Format menu as described above will store the selected Font Script setting in the report layout. The report engine will refer to this setting when rendering the report control. See below for how to reset the font script setting back to "use system default".

For more information, see Font Dialog Box.

You can also change font settings by double-clicking the report control to open the report control properties dialog box. Click the Style tab, and in the Font area, click the ellipsis (…) button to open the Font dialog box. For more information, see Style Tab, Report Control Properties Dialog Box (Report Builder).

Note

If the _REPORTBUILDER system variable is not set to the default Report Builder or is set to a third-party builder, the report control dialog box displays or a different dialog box might display. For more information, see _REPORTBUILDER System Variable.

To set the Font Script specification for a Field or Label report control back to use system default

  1. Open the report or label in the appropriate designer.

  2. In the designer, double-click the Field or Label report control you want to change, or right-click and select Properties.

    The report control properties dialog box opens.

  3. Select the Style tab.

  4. Clear the Use Font Script checkbox.

  5. Click OK.

For more information, see Style Tab, Report Control Properties Dialog Box (Report Builder).

Note

If the _REPORTBUILDER system variable is not set to the default Report Builder or is set to a third-party builder, the report control dialog box displays or a different dialog box might display. For more information, see _REPORTBUILDER System Variable.

See Also

Other Resources

Managing Report Controls

Configuring Report Controls

Working with Report Controls