The properties of a label in a web report are:
Property Name | Description | |||
---|---|---|---|---|
Text Format | ||||
Auto Fit | Specifies whether to adjust the width and height of the object according to the contents.
Data type: Boolean |
|||
Bold | Specifies whether to make the text bold.
Data type: Boolean |
|||
Font Face | Specifies the font of the text. Choose an option from the drop-down list.
Data type: Enumeration |
|||
Font Size | Specifies the font size of the text. Enter an integer value to change the size.
Data type: Integer |
|||
Horizontal Alignment | Specifies the horizontal justification of the text in the object. Choose an option from the drop-down list.
Data type: Enumeration | |||
Italic | Specifies whether to make the text italic.
Data type: Boolean |
|||
Strikethrough | Specifies whether to add a strikethrough line to the text.
Data type: Boolean |
|||
Text | Specifies the text in the label. Enter a string to display as the label text.
Data type: String |
|||
Underline | Specifies whether to underline the text.
Data type: Boolean |
|||
Vertical Alignment | Specifies the vertical justification of the text in the object. Choose an option from the drop-down list.
Data type: Enumeration |
|||
Word Wrap | Specifies whether to wrap the text to the width.
Data type: Boolean |
|||
Geometry | ||||
Height | Specifies the height of the object, in inches or centimeters. Enter a numeric value to change the height.
Data type: Float |
|||
Width | Specifies the width of the object, in inches or centimeters. Enter a numeric value to change the width.
Data type: Float |
|||
Color | ||||
Background | Specifies the background color of the object. Choose a color from the drop-down list, enter a hexadecimal RGB value (e.g. 0xff0000), choose a formula that returns a color, or select Custom from the drop-down list to specify the color.
Data type: String |
|||
Foreground | Specifies the foreground color of the object. Choose a color from the drop-down list, enter a hexadecimal RGB value (e.g. 0xff0000), choose a formula that returns a color, or select Custom from the drop-down list to specify the color.
Data type: String |
|||
CSS | ||||
Class | Specifies a CSS class to be applied to the object which is a valid class in the CSS file.
Data type: String |
|||
ID | Specifies the identifier of the object, which must be unique in the report. The ID property can be a style sheet selector.
Data type: String |
|||
Style | The property can be used in two ways.
Data type: String |
|||
Padding | ||||
Bottom Padding | Specifies the space in inches or centimeters between the text and the bottom border of the object. Enter a numeric value to change the padding.
Data type: Float |
|||
Left Padding | Specifies the space in inches or centimeters between the text and the left border of the object. Enter a numeric value to change the padding.
Data type: Float |
|||
Right Padding | Specifies the space in inches or centimeters between the text and the right border of the object. Enter a numeric value to change the padding.
Data type: Float |
|||
Top Padding | Specifies the space in inches or centimeters between the text and the top border of the object. Enter a numeric value to change the padding.
Data type: Float |
|||
Border | ||||
Border Color | Specifies the color of the border of the object. Choose a color from the drop-down list, enter a hexadecimal RGB value (0xCCAA00), choose a formula that returns a color, or select Custom from the drop-down list to specify the color.
Data type: String |
|||
Border Thickness | Specifies the width of the border in inches or centimeters. Enter a numeric value to change the thickness.
Data type: Float |
|||
Bottom Line | Specifies the line style of the bottom border of the object. Choose a style from the drop-down list.
Data type: Enumeration |
|||
Left Line | Specifies the line style of the left border of the object. Choose a style from the drop-down list.
Data type: Enumeration |
|||
Right Line | Specifies the line style of the right border of the object. Choose a style from the drop-down list.
Data type: Enumeration |
|||
Shadow | Specifies whether to draw two shadowed borders, beneath and to the right of the object.
Data type: Boolean |
|||
Shadow Color | Specifies the color of the shadow. Choose a color from the drop-down list, enter a hexadecimal RGB value (e.g. 0xff0000), choose a formula that returns a color, or select Custom from the drop-down list to specify the color and fill effect.
Data type: String |
|||
Top Line | Specifies the line style of the top border of the object. Choose a style from the drop-down list.
Data type: Enumeration |
|||
Pattern | ||||
Pattern Color | Specifies the color in which to draw a pattern to fill the object. Choose a color from the drop-down list, enter a hexadecimal RGB value (e.g. 0xff0000), choose a formula that returns a color, or select Custom from the drop-down list to specify the color and fill effect.
Data type: String |
|||
Pattern Style | Specifies the style of the pattern. Choose an option from the drop-down list.
Data type: Enumeration | |||
Others | ||||
Invisible | Specifies whether to show the object in the design area and in the report results. All formulas and calculations will still be performed if the property is set to true.
Data type: Boolean |
|||
Link | Specifies to link the object to another report, a website, or an e-mail address. Click in the value cell to set the link target. For details, see Binding a link to a label.
Data type: String |
|||
Logic Column | Specifies whether to show the object in the next visible table cell in the same row when the column which holds the object is hidden. Choose an option from the drop-down list.
Data type: Enumeration Notes:
|
|||
Record Location | Specifies the calculation point for the properties which use formulas. Choose an option from the drop-down list.
Data type: Enumeration |
|||
Suppress | Specifies whether to show the object in the design area and in the report results. All formulas and calculations will be skipped if the property is set to true.
Data type: Boolean Note: When both the Invisible and Suppress properties of an object are set to true, Suppress has the higher priority. |
|||
Suppress When No Records | Specifies whether to display the object in the report results when no record is returned to its parent data container.
Data type: Boolean |
|||
Transfer Style | Specifies whether the style group of the primary report will be applied to the linked report if the object is linked to a report.
Data type: Boolean |
Note: For tables, only these label properties can be rendered in Web Report Studio: