如何通过互操作设置PowerPoint幻灯片背景图像的边界

时间:2017-10-16 07:03:05

标签: ms-office powerpoint office-interop

我需要使用以下突出显示的填充互操作PowerPoint的属性。我在C#中尝试这个。我找到了以下代码来设置幻灯片背景,

slide = presentation.Slides[1];

slide.FollowMasterBackground = MsoTriState.msoFalse;            

slide.Background.Fill.UserPicture("Image.jpg");

现在图片被拉伸并居中对齐。但我无法更新下面屏幕截图中突出显示的界限

enter image description here

你们中的任何一个人都帮助我这样做。

提前致谢。

谢谢,

M.Ramaraj

0 个答案:

没有答案