Reports for WinForms | ComponentOne
Working with C1ReportDesigner / Enhancing the Report with Fields / Adding Superlabel Field
In This Topic
    Adding Superlabel Field
    In This Topic

    SuperLabel field is a field type which is available in the ReportDesigner tool. The SuperLabel field has been a part of the SuperTooltip control, and it is now available in C1Reports. SuperLabel field provides you the ability to render almost all the HTML tags. In other words, you can now render HTML formatted text as simple as RTF text in a report field. There are some restrictions though; this field is only available for the 4.0 version of the ReportDesigner. It would require the use of the 4.0 versions of the respective controls and scaling the application to 4.0 .NET framework.



    You can also add SuperLabel field to an existing report, by opening the report in the Report Designer application, and then adding the SuperLabel field to the desired section, just like any other label or text field. SuperLabel filed is inherited from C1.C1Report.Field class and uses instance of C1.Win.C1SuperTooltip.C1SuperLabel component to draw HTML content.

    To add a SuperLabel

    Follow the steps to add a SuperLabel field in your report.

    1. Create a new report using C1FlexReportDesigner.4 application.
    2. Click and select the SuperLabel field option from the INSERT tab.
    3. Draw the SuperLabel field to the desired section of your report.
    4. Set the Text property of the field to any HTML text which is to be rendered. Once you have set the Text property, you can preview the report.