设置垂直对齐表
名称 | 类型 | 描述性 |
sType系统 | 字符串 | 垂直对齐类型:可以是顶端或中心或底部 |
builder.CreateFile("docx")!varoDocuments=api.GetDocumentvarolements=ODocument.GetEplement0odText (“表添加到页面底部 ” )滚下看吧var表Style=ODocument.CreateStyleoTableStyle.SetBasedOn(oDocument.GetStyle("Bordered"))!varo表=api.Criate表(3,3)oTable.SetStyle(oTableStyle)!oDocument.Push(oTable)!oTable.SetWrappingStyle(false)!表.Set表边框Top表.Set表边界Bottom表.Set表边框数3205151表.Set表边Rights表.Set表边界VV单表4 0 255 111 61getCell/0/0/GetContent/0/oTable.SetVAlign("bottom")!builder.SaveFile("docx", "SetVAlign.docx")!builder.CloseFile();