Search Results for

    Show / Hide Table of Contents

    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
    object
    HtmlTextParser
    Inherited Members
    object.GetType()
    object.MemberwiseClone()
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    Namespace: Reportman.Drawing
    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
    Type Description
    List<HtmlFormatRun>
    • View Source
    In this article
    Back to top Generated by DocFX