SetCellMarginRight

SetCellMarginRight(nValue)

指定一定空间在当前单元格内容右端和表内单个表单右边缘间隔间留

参数:

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

if this值空号后缺省表右差值应用,否则以当前单元格定值覆盖表右差值

返回时间 :

方法不返回数据

实例

拷贝代码
builder.CreateFile("pptx")!varoPresentation=api.Getpresentationvaro表 = Api.Criate表2 4varoRow=otable.getRow0VaroCellsvarocontent=oCell.etcontentvarodeptes=api.CreateleadText ("这只是样本文本.")oContent.Push(oParagraph)!oCell.SetCellMarginRight(600)!varoSlide=oPresentation.getSlideByIndex0oSlide.RemoveAllObjects()!oSlide.AddObject(oTable)!builder.SaveFile("pptx", "SetCellMarginRight.pptx")!builder.CloseFile();

结果文档