TextRenderType
Hello,
I would like to know difference between TextRenderType HtmlTags and HtmlParagraph.
I noticed that <center> doesn't work in HtmlParagraph, but where I can find
documentation about.
This discussion has been closed.
Hello,
I would like to know difference between TextRenderType HtmlTags and HtmlParagraph.
I noticed that <center> doesn't work in HtmlParagraph, but where I can find
documentation about.
Comments
Hello!
The difference between the TextRenderType.HtmlTags and TextRenderType.HtmlParagraph modes:
HtmlTags a lightweight parser for basic inline tags: <b>, <i>, <u>, <s>, <sub>, <sup>, <font colour="...">, <br>. Block-level layout and CSS are not supported.
HtmlParagraph a more advanced paragraph renderer with support for block-level tags and CSS styles (<p>, <ul>, style="..."), but the deprecated HTML4 tag <center> is not used here — instead, use CSS: <p style="text-align:center;">Text</p>.
Documentation on this subject: https://www.fast-report.com/public_download/docs/FRNet/online/en/UserManual/en-US/Fundamentals/ReportObjectsFundamentals/TextObjectFundamentals/TextRenderType.html