SetVerticalTextAlign

etVerticalTextAligingsVertical

设置垂直对齐形状内容可插入段或文本运行

参数:

名称 类型 描述性
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();

结果文档