creating a docx file with equations in professional format using openxml SDK and C#

Deepthi Reddy 1 Reputation point
2022-01-19T15:03:26.61+00:00

I am trying to create a .rtf file with equations (similar to the one shown below but can get complicated) in the professional format using open XML.

166397-image.png

I tried using math.officemath, fraction etc but ended up with a corrupt file or a file with linear equations.

Can I please get an example in C# to create the above equation in .rtf or .docx?
Also, if .rtf cannot be produced by open XML, how can I get a word document (.docx) where all the equations are converted to images?

Office Development
Office Development
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Development: The process of researching, productizing, and refining new or existing technologies.
3,720 questions
0 comments No comments
{count} votes