GetAllShape

GetAllShapes数组 }

返回数组从滑动大师返回所有形状对象

参数:

这种方法没有任何参数

返回时间 :

类型
数组

实例

拷贝代码
builder.CreateFile("pptx")!varoPresentation=api.GetpresentationvaroSlide=oPresentation.getSlideByIndex0varomasterssservations.GetMasters0oSlide.RemoveAllObjects()!varoFinll =api.CreateSolidFillvarostroke=api.CreatestrokeVar Oshape = Api.CreateShapeoShape.SetPosition(608400, 1267200)!Shape.SetSize(300*36000,130*3600)oMaster.AddObject(oShape)!varashpesssvarstype =ashapes[0].getClasstypevaroccontent=oshape.getdoccontentvarodente=occontent.getEplement0oParagraph.SetJc("left")!odclips类型=+sypeoShape.SetVerticalTextAlign("center")!builder.SaveFile("pptx", "GetAllShapes.pptx")!builder.CloseFile();

结果文档