SharpLeaf Reference > SharpLeaf Methods > AddRichText Method

SharpLeaf.AddRichText Method

Run a vector of “WordPad” Rich Text Format into frame as new paragraphs. This is specific to “old-style” RTF, and not a general RTF parser.

public void AddRichText(
    string rtf
);
rtf
Newline-delimited RTF stream to run.

Example

   lf.AddRichText("{\\rtf1\\ansi\\ansicpg1252\\pard What a \\b bold\\b0  statement\\'85\\par}");

See also ...

SharpLeaf Members


Send comments on this topic
© Dyalog Ltd 2021