设置布局

seppatings(nleft,nTop,nRight,nBottom)

搭建表板如果表内嵌,则只应用左键

参数:

名称 类型 描述性
左转 数目

左踏板

NTop 数目

顶顶板

右转 数目

右滑板

NBOTOM 数目

底板搭建

返回时间 :

类型
布林安

实例

拷贝代码
builder.CreateFile("docx")!varoDocuments=api.GetDocumentvar表Style=ODocument.CreateStyleoTableStyle.SetBasedOn(oDocument.GetStyle("Bordered"))!varo表=api.Criate表(3,3)oTable.SetStyle(oTableStyle)!oDocument.Push(oTable)!getCell/0/0/GetContent/0/setpatings(10,10,5,5)builder.SaveFile("docx", "SetPaddings.docx")!builder.CloseFile();

结果文档