public static FormattedTextBlock Parse( string text, Color baseForeColor, string baseFont, float fontSize, ContentAlignment aligment) { return(TinyHTMLParsers.Parse(text, baseForeColor, baseFont, fontSize, FontStyle.Regular, aligment)); }
public static FormattedTextBlock Parse(TextParams textParams) { return(TinyHTMLParsers.Parse(textParams.text, textParams.foreColor, textParams.font.Name, textParams.font.Size, textParams.font.Style, textParams.alignment)); }