GetPlace

GetPlaceapiPlace......

返回当前绘图对象的占位符

参数:

这种方法没有任何参数

返回时间 :

类型
apiPlace空区

实例

拷贝代码
builder.CreateFile("pptx")!varoPresentation=api.GetpresentationvaroSlide=oPresentation.getSlideByIndex0oSlide.RemoveAllObjects()!varoFinll =api.CreateSolidFillvarostroke=api.CreatestrokeVar Oshape = Api.CreateShapeoShape.SetPosition(608400, 1267200)!Shape.SetSize(300*36000,130*3600)varoPlacedusts =api.CreatePlaceduceoShape.SetPlaceholder(oPlaceholder)!oSlide.AddObject(oShape)!oPlacedusts = oShape.GetPlaceducevarstype=oPlaceduce.getClassTypevaroccontent=oshape.getdoccontentvarodente=occontent.getEplement0oParagraph.SetJc("left")!oclits.adText (Class类型元件=+sype)oSlide.AddObject(oShape)!builder.SaveFile("pptx", "GetPlaceholder.pptx")!builder.CloseFile();

结果文档