Change line height in Telerik Reporting

0 Answers 81 Views
Report Viewer - HTML5 Styling
plig
Top achievements
Rank 1
plig asked on 25 May 2022, 03:53 PM

Hello,

I am trying to create a report with multi line text on a pre printed sheet of paper.

The problem is that I cannot set the line height of text and the result is not good (see the attached screenshot). If I increase the font to match the printed dot lines it looks enormous and still not good.

I tried the htmlTextBox but it does not seem to support style="line-height:1cm"

What are my options?

Dimitar
Telerik team
commented on 26 May 2022, 03:07 PM

Yes, unfortunately, the HtmlTextBox does not support the line-height CSS style - see Supported CSS attributes.

You may try to use the workaround from the How to render any HTML tags and CSS attributes in reports KB article with which you should be able to achieve the desired style.

No answers yet. Maybe you can help?

Tags
Report Viewer - HTML5 Styling
Asked by
plig
Top achievements
Rank 1
Share this question
or