设置垂直对齐形状内容可插入段或文本运行
名称 | 类型 | 描述性 |
sVertical对齐 | 顶端+++++ | 垂直对齐类型形状内部内容 |
builder.CreateFile("xlsx")!varoWorksheetvaroFinll =api.CreateSolidFillvarostroke=api.CreatestrokeVar Oshape = oWorksheet.varoccontentssoDocContent.RemoveAllElements()!oShape.SetVerticalTextAlign("bottom")!varodeptes=api.CreateleoParagraph.SetJc("left")!odtext ("我们从形状上删除所有元素并插入新段内adText(垂直对接底部)oDocContent.Push(oParagraph)!builder.SaveFile("xlsx", "SetVerticalTextAlign.xlsx")!builder.CloseFile();