Working with Labels
A label is an object containing a string, which is typically a brief description used to identify a field or other value nearby. This topic describes how you can insert and format labels in a report.
This topic contains the following sections:
See an example: The SampleComponents catalog, included with Designer, contains reports that have examples of how you could use each component type in a report. For the label component example, open
You can insert labels in the report areas listed in Component Placement.
To insert a label in a report:
- From the Components panel, drag the Label icon in the Basic category to the desired report destination.
- Select Insert > Label or Home > Insert > Label, then select in the location where you want to display the label.
Designer inserts a label with the default text "Label". You can then edit the text of a label.
- To edit the full text of a label, double-click the label to select the text, then type the replacement text.
- To edit a portion of a label's text, double-click the label, then select in the label and drag to select the portion, after that, type the replacement text.
You can also modify a label's text by using the Text property value in the Report Inspector.
You can neither drag nor use the Insert menu to insert labels into charts. For more information about chart labels, see Formatting the Labels.
You can format the label text with the Format menu tab of the Designer main window, for example, you can change the font size, color, and alignment of the text.
To format a label, first select the label, and then perform any of the following tasks:
- To change the alignment of a label, select the required alignment button: Justify, Left, Center or Right. Designer then aligns the text in the label according to your selection.
- To change the font face, select Font Face Box and then select the required font from the drop-down list. The fonts introduced with "*" are True Type Fonts. For more information, see Applying True Type Fonts in Reports.
- To change the font size, select Font Size Box and then select the required size from the drop-down list (or type the required value in the text box and then select Enter on the keyboard).
- To change the font style, select the corresponding font style buttons on the Format menu tab: Bold, Italic, and Underline.
- To change the background color of the label, select Background Color on the Format menu tab; to change the foreground color of the label text, select Foreground Color.