MdStyledText
Ecng.Markdown
Text carrying the author's own styling, from the :[text]{color=...} directive.
Erbt von: MdInline
Konstruktoren
MdStyledText
public MdStyledText(string text, string color, string fontSize, string fontFamily)
mdStyledText = MdStyledText(text, color, fontSize, fontFamily)
Text carrying the author's own styling, from the :[text]{color=...} directive.
- text
- Text content.
- color
- Colour as the author wrote it, empty when not set.
- fontSize
- Font size as the author wrote it, empty when not set.
- fontFamily
- Font family as the author wrote it, empty when not set.
Eigenschaften
FontFamily
public string FontFamily { get; }
value = mdStyledText.FontFamily
Font family as the author wrote it.
FontSize
public string FontSize { get; }
value = mdStyledText.FontSize
Font size as the author wrote it.