The Allow Markup Text option lets you apply formatting to label content in Finished Reports using supported markup tags.
This is useful when you want a label to display styled text, dynamic values, colors, line breaks, or hyperlinks without creating multiple separate report controls.
What Is Allow Markup Text?
Allow Markup Text enables supported markup tags inside a label.
These tags can be used to format the text displayed by the label, including:
- Bold
- Italic
- Underline
- Strikethrough
- Font size
- Font color
- Background color
- Font name
- Line breaks
- Hyperlinks
- Subscript and superscript
- Non-breaking spaces
Markup Text can also be combined with expressions and report fields to create dynamically formatted output.
Why Use Markup Text?
Markup Text is useful when you need more control over how label content is displayed.
You can use it to:
- Emphasize important values
- Apply color to specific parts of a label
- Add line breaks within a label
- Combine static text with dynamic field values
- Create formatted warnings or status messages
- Add hyperlinks
- Improve the visual hierarchy of report content
For example, a single label can display a field value in bold while leaving the surrounding text unformatted.
Download Sample
Supported Markup Tags
Finished Reports supports markup tags that can be added directly to label text or used inside expressions.
Text Formatting
-
Bold:
<b>Text</b> -
Italic:
<i>Text</i> -
Underline:
<u>Text</u> -
Strikethrough:
<s>Text</s> -
Combined formatting:
<b><u>Bold and Underlined</u></b> -
Reset formatting:
<r>
The <r> tag resets the formatting from that point forward.
Font and Color Formatting
-
Font Size:
<size=12>Text</size> -
Font Color:
<color=red>Text</color> -
Background Color:
<backcolor=yellow>Text</backcolor> -
Font Name:
<font=Arial>Text</font>
Other Useful Tags
-
Line Break:
<br> -
Hyperlink:
<href='https://example.com'>Link</href> -
Subscript:
<sub>Sub</sub> -
Superscript:
<sup>Sup</sup> -
Non-breaking Space:
<nbsp>
Tip: When building an expression from multiple pieces of text and data, use
+to concatenate the values.
For example:
"Hello " + '<b>' + [Field] + '</b>'
Step 1: Open the Finished Reports Designer
Open the View and launch the Finished Reports Designer.
Step 2: Select the Label
Select the label where you want to use formatted text.
Step 3: Enable Allow Markup Text
With the label selected:
- Open the label's Properties.
- Locate the Behavior section.
- Enable Allow Markup Text.
Once enabled, the label can interpret the supported markup tags.
Step 4: Enter the Expression
Open the label's Text expression editor.
Create the expression using the fields and markup tags you want to display.
Example
'<b> Order Date: </b> ' + [OrderDate] +
'<b> Freight: </b> ' + [Freight] +
'<b> OrderID: </b> ' + [OrderID]This example uses bold markup around the field labels while the field values remain dynamic.
Tip: Hover over the text area in the expression editor to preview the rendered result before applying the expression.
Step 5: Save and Preview
After configuring the label:
- Save the Finished Report.
- Select Preview.
- Confirm that the markup is displayed correctly.
- Return to the Designer if additional changes are needed.
Comments
0 comments
Please sign in to leave a comment.