类表示图像
名称 | 描述性 |
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();