指定此表单元格文本流方向
名称 | 类型 | 描述性 |
sType系统 | tbrl | 表格单元格中可用文本方向类型
|
builder.CreateFile("docx")!varoDocuments=api.GetDocumentvar表Style=ODocument.CreateStyleoTableStyle.SetBasedOn(oDocument.GetStyle("Bordered"))!varo表=api.Criate表(3,3)oTable.SetWidth("percent", 100)!var表列=o表.getRow0oTableRow.SetHeight("atLeast", 1440)!var tableCellPr =otableStyle.GettableCellProTableCellPr.SetTextDirection("btlr")!varocell =otable.GetRow0.GetCell0varodents=oCell.GetContentsoParagraph.AddText("btlr")!oTable.SetStyle(oTableStyle)!oDocument.Push(oTable)!builder.SaveFile("docx", "SetTextDirection.docx")!builder.CloseFile();