string RTFColor (string htmlColor)
 
Convert a standard HTML/CSS color to an RTF color.
Exceptions:
OutOfMemoryException
Thrown when a low memory situation occurs.
Parameters:
htmlColor
The HTML color.
Returns:
RTF color as string.
Convert #FF3399 to an RTF color.
<xsl:varaible name="VarRTFColor" select="wwunits:RTFColor('#FF3399')" />
Was this helpful?
Last modified date: 10/14/2020