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. |
language |
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
languageId
The language ID of the text. Read-only.
languageId?: string;
Property Value
string
Remarks
style
Gets the text style of the RichText object. Read-only.
style?: OneNote.ParagraphStyle;
Property Value
Remarks
text
Gets the text content of the RichText object. Read-only.
text?: string;
Property Value
string
Remarks
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Office Add-ins