GetClassType系统

GetClassType()+++++++++

返回ApiRun类

参数:

这种方法没有任何参数

返回时间 :

类型
运行

实例

拷贝代码
builder.CreateFile("pptx")!varoPresentation=api.GetpresentationvaroSlide=oPresentation.getSlideByIndex0oSlide.RemoveAllObjects()!varoFinll =api.CreateSolidFillvarostroke=api.CreatestrokeVar Oshape = Api.CreateShapeoShape.SetPosition(608400, 1267200)!varoccontent=oshape.getdoccontentvarodente=occontent.getEplement0var ORun=api.CreateRunvar slassType=Oun.GetClassTypeoRun.SetFontSize(30)!ORUN.AddTextoParagraph.AddElement(oRun)!oSlide.AddObject(oShape)!builder.SaveFile("pptx", "GetClassType.pptx")!builder.CloseFile();

结果文档