Frequently Asked Question:
What HTML tags does the DrawHTMLText function recognize?
What HTML tags does the DrawHTMLText function recognize?
The DrawHTMLText function recognizes a limited subset of HTML. The following HTML tags are available for use:
<br> to break onto a new line
<b> or <strong> for bold
<i> or <em> for italics
<sup> and <sub> for superscript/subscript.
<u> for underline
<u style="double"> for double underline
<u style="strikeout"> for strikeout (a line drawn through the text)
<u style="over"> for a line drawn above the text
<p align="left"> for left aligned paragraphs
<p align="center"> for centered paragraphs
<p align="justified"> for justified paragraphs
<ul>, <ol> and <li> for ordered/unordered lists
<font
size="__"
color="__"
background="__"
roundback="yes/no"
mode="__"
outlinecolor="__"
outlinewidth="__pt"
>
<span background="__" roundback="yes/no">
The font size can be specified as a standard HTML size, or a point size such as "11.5pt", the outline width must be specified in points, for example "1.5pt". Text and background colors can be specified in RGB using the standard HTML hexadecimal notation, for example "#3A498C". CMYK colors can be specified using eight hexadecimal values and omitting the #, for example "5C238F02".
If the roundback attribute is "yes", the background rectangles will be drawn with rounded edges.