A Label is a text component designed to allow text to be placed on a report.
See also Report Designer Component Properties for properties common to all components, such as position and size.
Label components have the following properties:
Alignment |
Set options to align the component:
|
AlignWithMargins |
When True, the component will align with the page margins. |
Angle |
The angle to display the text on. For example, setting the Angle to 90 will display the Caption vertically. |
AutoHeight |
When True, the height of the component will be automatically adjusted to fit the text. |
AutoWidth |
When True, the width of the component will be automatically adjusted to fit the text. |
Border Properties (BorderBottom, BorderLeft, BorderRight, BorderTop) |
You can place borders around text components. This is useful for drawing boxes around components or separating components from each other with lines.
|
BorderColor |
The component border colour. Click |
BrushColor |
The component background colour. The Transparent property must be set to False for the BrushColor to be visible. Click |
ExportColumn |
When exporting the report, the column that will contain this component text. |
ExportColumnWidth |
When exporting the report, the width of the column for this component. |
ExportRow |
When exporting the report, the Export Row is used if the Band is exporting multiple lines. |
Font |
Determines the font of the printed output. Click |
FontColor |
The text colour. Click |
ParentCustomHint |
When True, uses the Custom Hint of the parent Band. |
ParentFont |
When True, uses the Font of the parent Band. Setting this property to True means you can change the font of a band (or the entire report) and have all components on that band (or the report) change to the same font. |
Text |
The text to be displayed on the label. You can embed 'New Line' characters in Label components by pressing |
VerticalAlignment |
Set options to align the text within the component vertically:
AutoHeight must be False for this property to have an effect, so the component is a fixed height and text is aligned vertically within it. |
WordWrap
|
When True, if the text in the component exceeds the width of the component, the text will wrap to new lines on word boundaries. When False, if the text in the component exceeds the width of the component, the component width will be extended to fit the text. |