创建词句

CreateLEZYSspi段}

创建新段

参数:

这种方法没有任何参数

返回时间 :

类型
spi段

实例

拷贝代码
builder.CreateFile("pptx")!varoPresentation=api.GetpresentationvaroSlide=oPresentation.getSlideByIndex0oSlide.RemoveAllObjects()!varoFinll =api.CreateSolidFillvarostroke=api.CreatestrokeVar Oshape = Api.CreateShapeoShape.SetPosition(608400, 1267200)!varoccontent=oshape.getdoccontentoDocContent.RemoveAllElements()!varodeptes=api.CreateleoParagraph.SetJc("left")!oclipse.adText没有什么特殊性 )!oDocContent.Push(oParagraph)!oSlide.AddObject(oShape)!builder.SaveFile("pptx", "CreateParagraph.pptx")!builder.CloseFile();

结果文档