파워 포인트 프리젠 테이션 (2010)에서 슬라이드의 배경 이미지를 저장하는 방법을 아는 사람이 있습니까? 저는 여기에 배경 이미지를 얻기 위해 슬라이드를 지우려고 내 코드의 일부이지만 상당히 원하는 결과슬라이드 배경 이미지 저장
PowerPoint.Presentation p = app.Presentations.Open(slidesContainerPath, Microsoft.Office.Core.MsoTriState.msoFalse, Microsoft.Office.Core.MsoTriState.msoFalse, Microsoft.Office.Core.MsoTriState.msoFalse);
string imagename;
foreach (PowerPoint.Slide s in p.Slides) {
imagename = s.SlideIndex.ToString() + ".jpg";
s.BackgroundStyle = Microsoft.Office.Core.MsoBackgroundStyleIndex.msoBackgroundStyleNotAPreset;
foreach(Microsoft.Office.Interop.PowerPoint.Shape shape in s.Shapes)
{
shape.Delete();
}
s.Export(imagesContainerPath + "\\" + imagename, "JPG");
}
if (p != null) {
p.Close();
}
확인이 링크 : http://www.add-in-express.com/forum/read.php? FID = 5 TID = 9327 –