D
Dileep
Hello,
I developed a Com-addins for PowerPoint 2007using c#.net 2008 and
vsto.But i want to apply the background image, Selected Slide Only.
The below code apply the background all slides.
PowerPoint.Application powerpointAppln = new PowerPoint.Application();
PowerPoint.Presentation presntation =
powerpointAppln.ActivePresentation;
//PowerPoint.Slide slide =
presntation.Slides.Add(powerpointAppln.ActiveWindow.Selection.SlideRange.SlideNumber, PowerPoint.PpSlideLayout.ppLayoutTitle);
PowerPoint.Shape backImage =
presntation.SlideMaster.Shapes.AddPicture(@"C:\Documents and
Settings\User1\My Documents\LEADTOOLS Images\eye.gif",
Office.MsoTriState.msoFalse,
Office.MsoTriState.msoTrue,0
,0,presntation.SlideMaster.Width,presntation.SlideMaster.Height );
Thanks
Dileep
I developed a Com-addins for PowerPoint 2007using c#.net 2008 and
vsto.But i want to apply the background image, Selected Slide Only.
The below code apply the background all slides.
PowerPoint.Application powerpointAppln = new PowerPoint.Application();
PowerPoint.Presentation presntation =
powerpointAppln.ActivePresentation;
//PowerPoint.Slide slide =
presntation.Slides.Add(powerpointAppln.ActiveWindow.Selection.SlideRange.SlideNumber, PowerPoint.PpSlideLayout.ppLayoutTitle);
PowerPoint.Shape backImage =
presntation.SlideMaster.Shapes.AddPicture(@"C:\Documents and
Settings\User1\My Documents\LEADTOOLS Images\eye.gif",
Office.MsoTriState.msoFalse,
Office.MsoTriState.msoTrue,0
,0,presntation.SlideMaster.Width,presntation.SlideMaster.Height );
Thanks
Dileep