获取Master

GetMaster阿皮马斯特......

返回当前主题滑动主

参数:

这种方法没有任何参数

返回时间 :

类型
阿皮马斯特空区

实例

拷贝代码
builder.CreateFile("pptx")!varoPresentation=api.GetpresentationvaroSlide=oPresentation.getSlideByIndex0varomesslidevaromasterse.Getmastervarstype =omaster.getClasstypeoSlide.RemoveAllObjects()!varoFinll =api.CreateSolidFillvarostroke=api.CreatestrokeVar Oshape = Api.CreateShapeoShape.SetPosition(608400, 1267200)!Shape.SetSize(300*36000,130*3600)varoccontent=oshape.getdoccontentvarodente=occontent.getEplement0oParagraph.SetJc("left")!odclips类型=+sypeoSlide.AddObject(oShape)!builder.SaveFile("pptx", "GetMaster.pptx")!builder.CloseFile();

结果文档