RtfComposerServiceGetRtfText Method |
Creates an RTF string from plain text that may contain embedded MathML fragments.
Namespace: Altaxo.Main.ServicesAssembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntaxpublic static string GetRtfText(
string rawtext,
Graphics gr,
Color backcolor,
int fontsize
)
Parameters
- rawtext String
- The raw text that may contain <math> elements.
- gr Graphics
- The graphics object used for rendering MathML content.
- backcolor Color
- The background color used during MathML rendering.
- fontsize Int32
- The font size used for MathML rendering.
Return Value
StringThe generated RTF text.
See Also