The problem you're seeing comes from not specifying any other target position than Selection. OPara1.ReadingOrder = WdReadingOrder.wdReadingOrderRtl I usedĢ- How to write the equation $\sqrt$ in the equation? Is there any reference showing how the equations are written?ĮDIT: the 'writep' is as follows: private void writep(_Document oDoc, string text, int font, bool bold) I want it to be inserted right after the text in another paragraph with left alignment. When I run this code the equation is inserted at the top of the page. Now I have these problems:ġ- I can not insert the equation after the text. Where is a function which inserts a paragraph in word. Writep(oDoc, "The equation is as follows:", 16, true) To do this I used this code: private void button2_Click(object sender, EventArgs e) I wanted to add an equation to Microsoft Word using C#.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |