Click or drag to resize

RtfComposerServiceGetRtfText Method

Creates an RTF string from plain text that may contain embedded MathML fragments.

Namespace: Altaxo.Main.Services
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
public 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

String
The generated RTF text.
See Also