[]
        
(Showing Draft Content)

GrapeCity.Documents.Word.MathMLConverter.FromMathML

FromMathML Method

FromMathML(XmlReader, OMathParagraph)

Adds MathML content to a OMathParagraph.

Declaration
public OMath FromMathML(XmlReader mathML, OMathParagraph to)
Public Function FromMathML(mathML As XmlReader, [to] As OMathParagraph) As OMath
Parameters
Type Name Description
XmlReader mathML

The source System.Xml.XmlReader containing the MathML content to convert.

OMathParagraph to

The target OMathParagraph where to add the converted content.

Returns
Type Description
OMath

The newly created OMath that contains the added content.

FromMathML(XmlReader, OMath)

Adds MathML content to a OMath.

Declaration
public ContentObject[] FromMathML(XmlReader mathML, OMath to)
Public Function FromMathML(mathML As XmlReader, [to] As OMath) As ContentObject()
Parameters
Type Name Description
XmlReader mathML

The source System.Xml.XmlReader containing the MathML content to convert.

OMath to

The target OMath where to add the converted content.

Returns
Type Description
ContentObject[]

The array of created ContentObjects.

FromMathML(XmlReader, OMathElement)

Adds MathML content to a OMathElement.

Declaration
public ContentObject[] FromMathML(XmlReader mathML, OMathElement to)
Public Function FromMathML(mathML As XmlReader, [to] As OMathElement) As ContentObject()
Parameters
Type Name Description
XmlReader mathML

The source System.Xml.XmlReader containing the MathML content to convert.

OMathElement to

The target OMathElement where to add the converted content.

Returns
Type Description
ContentObject[]

The array of created ContentObjects.

FromMathML(XmlReader, RangeBase, InsertLocation)

Adds MathML content to a RangeBase.

Declaration
public ContentObject[] FromMathML(XmlReader mathML, RangeBase range, InsertLocation location = InsertLocation.End)
Public Function FromMathML(mathML As XmlReader, range As RangeBase, Optional location As InsertLocation = InsertLocation.End) As ContentObject()
Parameters
Type Name Description
XmlReader mathML

The source System.Xml.XmlReader containing the MathML content to convert.

RangeBase range

The target RangeBase where to add the converted content.

InsertLocation location

The target InsertLocation for the insertion.

Returns
Type Description
ContentObject[]

The array of created ContentObjects.