设置对象约束框大小(图像、形状、图表)
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)varoccontent=oshape.getdoccontentoDocContent.RemoveAllElements()!varodeptes=api.CreateleoParagraph.SetJc("left")!oclipse.adText没有什么特殊性 )!oDocContent.Push(oParagraph)!oSlide.AddObject(oShape)!builder.SaveFile("pptx", "SetSize.pptx")!builder.CloseFile();