API Reference
Class
OneNoteTextRun
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.
Returned or exposed by
- Method OneNoteParagraph.AddMath
- Property OneNoteParagraph.Runs
- Method OneNoteTextRun.SetMathExpression
Constructors
public OneNoteTextRun() #Methods
public OneNoteTextRun SetMathExpression(OfficeMathExpression expression) #Returns:
OneNoteTextRunAssigns a structured inline mathematical expression and its readable text projection.
Parameters
- expression OfficeIMO.Drawing.OfficeMathExpression
Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object
Properties
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 String Hyperlink { get; set; } #Optional hyperlink URI.
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.