![]() ![]() Public static void setSuperscripts(.Range range, string content)įor equations, you can refer to the following reference: Range.End = range.Start + content.Length Public static void setSubscripts(.Range range, string content) SetSuperscripts(p1.Range, "superscripts") P1.Range.Text = "Asubscripts Bsuperscripts" Word.Document doc = (ref path, ref miss, ref isReadOnly, ref miss, ref miss, ref miss, ref miss, ref miss, ref miss, ref miss, ref miss, ref miss, ref miss, ref miss, ref miss, ref miss) ![]() Word.Application application = new Word.Application() Here's an example of insert subscripts and superscripts into the word document. You can consider using namespace to do it.Ĭheck the following document : How to access Office interop objects (C# Programming Guide)
0 Comments
Leave a Reply. |