Working with Text Styles

Change the Font Color, Size and Highlight All the Text of RichText Node

Changing the Font Color, Size & Highlighting the Text

To change the font and color of a rich text node using Aspose.Note, please follow the steps below:

  1. Load OneNote document to a Document class.
  2. Access a RichText node whose font and colors are to be changed.
  3. Access TextStyle.
  4. Set the text’s font and color.

The output of the code snippet below is shown in the figure.