GetClassType系统

GetClassType()++

返回ApiDrawing类类型

参数:

这种方法没有任何参数

返回时间 :

类型
滑动

实例

拷贝代码
builder.CreateFile("pptx")!varoPresentation=api.GetpresentationvaroSlide=oPresentation.getSlideByIndex0oSlide.RemoveAllObjects()!varoFinll =api.CreateSolidFillvarostroke=api.CreatestrokeVar ODrawing = Api.CreateShapeoDrawing.SetPosition(608400, 1267200)!ODrawing.SetSize(300*36000,130*3600)oSlide.AddObject(oDrawing)!varadrawings =oSlide.getAllDrawingsvarstype = adrawings.GetClassTypevaroccontent=odrawing.getdoccontentvarodente=occontent.getEplement0oParagraph.SetJc("left")!odclips类型=+sypebuilder.SaveFile("pptx", "GetClassType.pptx")!builder.CloseFile();

结果文档