Class HtmlTextParser
Parses a supported subset of HTML markup into a list of styled HtmlFormatRun
segments, sanitizing and normalizing the input and resolving inline tags such as
b/i/u/s, span and legacy font into bold, italic, font family, size and color attributes.
Inheritance
HtmlTextParser
Assembly: Reportman.Drawing.dll
Syntax
public static class HtmlTextParser
Methods
View Source
Parse(string, string)
Declaration
public static List<HtmlFormatRun> Parse(string htmlText, string defaultFontFamily = "")
Parameters
| Type |
Name |
Description |
| string |
htmlText |
|
| string |
defaultFontFamily |
|
Returns