API Reference

Class

OneNoteTextRun

Namespace OfficeIMO.OneNote
Assembly OfficeIMO.OneNote
Modifiers sealed

A formatted text run.

Inheritance

  • Object
  • OneNoteTextRun

Usage

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Constructors

Methods

public OneNoteTextRun SetMathExpression(OfficeMathExpression expression) #
Returns: OneNoteTextRun

Assigns a structured inline mathematical expression and its readable text projection.

Parameters

expression OfficeIMO.Drawing.OfficeMathExpression requiredposition: 0

Properties

public String Text { get; set; } #

Unicode run text.

public OfficeMathExpression MathExpression { get; set; } #

Optional structured inline mathematical expression. The reusable expression tree is owned by OfficeIMO.Drawing; OneNote maps it to and from the native rich-text math grammar.

public OneNoteTextStyle Style { get; } #

Run formatting.

public Boolean HyperlinkProtected { get; set; } #

Whether the hyperlink is protected from editing.

public IList<OneNoteOpaqueProperty> UnknownProperties { get; } #

Unknown run properties preserved in encoded source order.