Presentations objPresSet = objApp.Presentations;
_Presentation objPres = objPresSet.Open("G:\\123.ppt", Microsoft.Office.Core.MsoTriState.msoTrue, Microsoft.Office.Core.MsoTriState.msoTrue, Microsoft.Office.Core.MsoTriState.msoFalse);
Slides objSlides = objPres.Slides;
int i = objSlides.Count;//ppt页数 float w = objPres.Application.Width;
float h = objPres.Application.Height;
float wd = objSlides.Application.Width;
float hg = objSlides.Application.Height;
哪个属性是ppt的分辨率啊?
_Presentation objPres = objPresSet.Open("G:\\123.ppt", Microsoft.Office.Core.MsoTriState.msoTrue, Microsoft.Office.Core.MsoTriState.msoTrue, Microsoft.Office.Core.MsoTriState.msoFalse);
Slides objSlides = objPres.Slides;
int i = objSlides.Count;//ppt页数 float w = objPres.Application.Width;
float h = objPres.Application.Height;
float wd = objSlides.Application.Width;
float hg = objSlides.Application.Height;
哪个属性是ppt的分辨率啊?
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货