SetTableCellMarginLeft

SetTableCellMarginLeft(nValue)

指定在左范围单元格内容和父表内所有表单元格左边框间留空度(或表列列内)。

参数:

名称 类型 描述性
svalue语言 树枝

数值乘以单位左位范围 20s测取点(1/1440英吋)。

返回时间 :

方法不返回数据

实例

拷贝代码
builder.CreateFile("docx")!varoDocuments=api.GetDocumentvarolements=ODocument.GetEplement0var表Style=ODocument.CreateStyleoTableStyle.SetBasedOn(oDocument.GetStyle("Bordered"))!varo表=api.Criate表(3,3)oTable.SetWidth("percent", 100)!oTable.SetStyle(oTableStyle)!varocell=otable.GetCell/0/GetContentoTable.SetTableCellMarginLeft(720)!oDocument.Push(oTable)!builder.SaveFile("docx", "SetTableCellMarginLeft.docx")!builder.CloseFile();

结果文档