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