设置右侧缩进
名称 | 类型 | 描述性 |
svalue语言 | 树枝 | 段右侧缩进值以点数20s测量 |
builder.CreateFile("xlsx")!varoWorksheetvaroFinll =api.CreateSolidFillvarostroke=api.CreatestrokeVar Oshape = oWorksheet.varoccontentssvarodente=occontent.getEplement0odText ("此段右偏偏2英寸设置)ocept.adText)odtext ("此句用为表示目的添加线程.")oParagraph.SetJc("right")!oParagraph.SetIndRight(2880)!odeptes = Api.CreatelementsodText ("此段不设置偏移)odtext ("这些句子用来添加线程表示目的)oDocContent.Push(oParagraph)!builder.SaveFile("xlsx", "SetIndRight.xlsx")!builder.CloseFile();