How can I format specific character in a paragraph Field in FlexReport

Posted by: malishin on 11 February 2020, 11:27 pm EST

    • Post Options:
    • Link

    Posted 11 February 2020, 11:27 pm EST - Updated 3 October 2022, 3:11 pm EST

    For example, the following paragraph is the content of Paragraph Field. I want to dynamically set the style (forecolor, font, etc.) of the each word [WinForms ] through code or vbscript.

  • Posted 12 February 2020, 8:55 pm EST

    Hi Malishin,

    It can not be done through the script in FlexReport.

    You can do this by code as implemented in the attached sample.

    You can also use RtfField or SuperLabel fields and assign the RTF text or HTML string to these fields respectively to achieve this scenario.

    Regards,

    Prabhat Sharma.

    ReportDemo.zip

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels