SetTextDirection

SetTextDirection(sType)

指定当前表单元格文本流方向

参数:

名称 类型 描述性
sType系统 tbrl

文本流方向类型

返回时间 :

方法不返回数据

实例

拷贝代码
builder.CreateFile("pptx")!varoPresentation=api.Getpresentationvaro表 = Api.Criate表2 4varoRow=otable.getRow0ORow.SetHeight(30*3600)VaroCellsoCell.SetTextDirection("tbrl")!varocontent=oCell.etcontentvarodeptes=api.CreateleadText ("这只是样本文本.")oContent.Push(oParagraph)!varoSlide=oPresentation.getSlideByIndex0oSlide.RemoveAllObjects()!oSlide.AddObject(oTable)!builder.SaveFile("pptx", "SetTextDirection.pptx")!builder.CloseFile();

结果文档