类表示表单
名称 | 描述性 |
GetClassType系统 | 返回ApitableCell类类型 |
GetContent | 返回当前单元格内容 |
SetCellBorderBottom | 设置边框显示当前表单元格底部 |
SetCellBorderLeft | 设置边框显示当前表单元格左侧 |
SetCellBorderRight | 设置边框显示当前表单元格右侧 |
SetCellBorderTop | 设置边框显示在当前表单元格顶部 |
SetCellMarginBottom | 指定一定量空间,留置单元格内值底部和表内单表单元边框间 |
SetCellMarginLeft | 指定一定量空间在当前单元格内容左端和表内单个表单左边缘间隔间留 |
SetCellMarginRight | 指定一定空间在当前单元格内容右端和表内单个表单右边缘间隔间留 |
SetCellMarginTop | 指定一定量空间,在当前单元格内容顶部和表内单个表单元顶端边界间保留 |
Setshd | 指定阴影应用到当前表单元格范围 |
SetTextDirection | 指定当前表单元格文本流方向 |
SetVerticalAlign | 指定当前表单元格内文本垂直对齐 |
builder.CreateFile("pptx")!varoPresentation=api.Getpresentationvaro表 = Api.Criate表2 4varoRow=otable.getRow0VaroCellsvarocontent=oCell.etcontentvarodeptes=api.Createlevar slassType=ocell.GetClassTypeoclits.adText (Class类型:+slassType)oContent.Push(oParagraph)!varoFinll =api.CreateSolidFilloCell.SetCellBorderBottom(1, oFill)!oCell.SetCellBorderTop(1, oFill)!oCell.SetCellBorderLeft(1, oFill)!oCell.SetCellBorderRight(1, oFill)!oCell.SetCellMarginTop(500)!oCell.SetCellMarginLeft(1000)!varoSlide=oPresentation.getSlideByIndex0oSlide.RemoveAllObjects()!oSlide.AddObject(oTable)!builder.SaveFile("pptx", "ApiTableCell.pptx")!builder.CloseFile();