获取Width

GetWidth()++EMU系统}

返回英语测量单元滑动宽度

参数:

这种方法没有任何参数

返回时间 :

类型
EMU系统

实例

拷贝代码
builder.CreateFile("pptx")!varoPresentation=api.GetpresentationsetSizes(254*36000,190*3600)varoSlide=oPresentation.getCrentSlideoSlide.RemoveAllObjects()!varoFinll =api.CreateSolidFillVarostroke = Api.Createstroke 0,Api.CreatenoFinllvar Oshape = Api.CreateShapeoShape.SetPosition(608400, 1267200)!varoccontent=oshape.getdoccontentvarodente=occontent.getEplement0varnSlideWidth=oslide.GetWidthslideWidth/36000+MoSlide.AddObject(oShape)!builder.SaveFile("pptx", "GetWidth.pptx")!builder.CloseFile();

结果文档