GetClassType系统

GetClassType()+++

返回ApiSlide类类型

参数:

这种方法没有任何参数

返回时间 :

类型
滑动

实例

拷贝代码
builder.CreateFile("pptx")!varoPresentation=api.GetpresentationvaroSlide=oPresentation.getSlideByIndex0oSlide.RemoveAllObjects()!Var OGs1 = Api.CreateGradientStopVar OGS2 = Api.CreateGradient StopvaroFinll =api.CriateRadialGratientFillvarostroke=api.CreatestrokeVar Oshape = Api.CreateShapeoShape.SetPosition(608400, 1267200)!varoccontent=oshape.getdoccontentvarodente=occontent.getEplement0var slassType=oslide.getClassTypeodstext (slass类型=+ssstype)oSlide.AddObject(oShape)!builder.SaveFile("pptx", "GetClassType.pptx")!builder.CloseFile();

结果文档