API Reference
Class
OneNoteMath
Mathematical content and its best available projections.
Inheritance
- OneNoteElement
- OneNoteMath
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 OneNoteMath.SetExpression
Constructors
public OneNoteMath() #Methods
public OfficeMathExpression GetExpression() #Returns:
OfficeMathExpressionReturns the structured expression or derives it from MathML, LaTeX, or plain text.
public OneNoteMath SetExpression(OfficeMathExpression expression, Boolean populateProjections = true) #Returns:
OneNoteMathAssigns a structured expression and refreshes its portable projections.
Parameters
- expression OfficeIMO.Drawing.OfficeMathExpression
- populateProjections System.Boolean = true
Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object
Properties
public override OneNoteElementKind Kind { get; } #public OfficeMathExpression Expression { get; set; } #Structured, editable mathematical content owned by OfficeIMO.Drawing.
public String Text { get; set; } #Plain-text mathematical projection.
public String MathMl { get; set; } #MathML projection when available.
public String Latex { get; set; } #LaTeX projection when available.
public OneNoteBinaryPayload RawPayload { get; set; } #Raw mathematical payload preserved for loss-aware writing.
Inherited Properties
public OneNoteExtendedGuid Id { get; set; } #Inherited from OneNoteElement
public OneNoteLayout Layout { get; set; } #Inherited from OneNoteElement
public OneNoteAuthor Author { get; set; } #Inherited from OneNoteElement
public IList<OneNoteTag> Tags { get; } #Inherited from OneNoteElement
public IList<OneNoteOpaqueProperty> UnknownProperties { get; } #Inherited from OneNoteElement