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
Newline-delimited RTF stream to run.


   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