GetClassType系统

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

返回Apiimage类类型

参数:

这种方法没有任何参数

返回时间 :

类型
图像类

实例

拷贝代码
builder.CreateFile("pptx")!varoPresentation=api.GetpresentationvaroSlide=oPresentation.getSlideByIndex0oSlide.RemoveAllObjects()!Var Oimaage = Api.CreateImaageoSlide.AddObject(oImage)!Var OGs1 = Api.CreateGradientStopVar OGS2 = Api.CreateGradient StopvaroFinll =api.CriateRadialGratientFillvarostroke=api.CreatestrokeVar Oshape = Api.CreateShapeoShape.SetPosition(608400, 1267200)!varoccontent=oshape.getdoccontentvar slassType =OIMGETCLSSTypevarodente=occontent.getEplement0oParagraph.SetJc("left")!odstext (slass类型=+ssstype)oSlide.AddObject(oShape)!builder.SaveFile("pptx", "GetClassType.pptx")!builder.CloseFile();

结果文档