spiimage大全

新建apiimage

类表示图像

方法论

名称 描述性
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", "ApiImage.pptx")!builder.CloseFile();

结果文档