【教程】Spire.Doc系列教程(6):C# 在Word中插入上下标

上下标常见于数学公式、化学表达式等科学公式中。使用Spire.Doc时,用户可以通过CharacterFormat类中SubSuperScript属性来将字符(串)设置为上标或下标。 //初始化Document对象,添加section和段落 Document doc = new Document(); Section sec = doc.AddSection(); Paragraph para =
相关文章
相关标签/搜索