OneNote.Interfaces.RichTextData interface

An interface describing the data returned by calling richText.toJSON().

Properties

id

Gets the ID of the RichText object. Read-only.

languageId

The language id of the text. Read-only.

style

Gets the text style of the RichText object. Read-only.

text

Gets the text content of the RichText object. Read-only.

Property Details

id

Gets the ID of the RichText object. Read-only.

id?: string;

Property Value

string

Remarks

[ API set: OneNoteApi 1.1 ]

languageId

The language id of the text. Read-only.

languageId?: string;

Property Value

string

Remarks

[ API set: OneNoteApi 1.1 ]

style

Gets the text style of the RichText object. Read-only.

style?: OneNote.ParagraphStyle;

Property Value

Remarks

[ API set: OneNoteApi 1.8 ]

text

Gets the text content of the RichText object. Read-only.

text?: string;

Property Value

string

Remarks

[ API set: OneNoteApi 1.1 ]