S
SN Zeih Zeih
Hi Dear All,
I am developing an application using C#, VS-2008 and MS-PowerPoint 12. Now I
need to fetch the Title, not the name, of the slides of a Presentation. I
have written some code but it does fetch only the name of the slides. Below
is my code to get the Title of slide. Actually i have no much idea to do
this.
try
{
int buttonTop = 0;
foreach (PowerPoint._Slide slide in pptPresenation.Slides)
{
Button btnNav = new Button();
btnNav.Name = slide.Name + "-" + slide.SlideNumber;
btnNav.Text = slide.Name;//This is the line where I need to get the Title
instead of name.
btnNav.Width = panLeftMenu.Width - 10;
btnNav.Left = 3;
btnNav.Top = buttonTop;
buttonTop = buttonTop + (btnNav.Height + 2);
btnNav.Click+=new EventHandler(btnNav_Click);
panLeftMenu.Controls.Add(btnNav);
}
}
catch { }
And apart from this I also would like to Play and Pause the slide show. How
do I go about that?
I need some help from you guys. Thanks
I am developing an application using C#, VS-2008 and MS-PowerPoint 12. Now I
need to fetch the Title, not the name, of the slides of a Presentation. I
have written some code but it does fetch only the name of the slides. Below
is my code to get the Title of slide. Actually i have no much idea to do
this.
try
{
int buttonTop = 0;
foreach (PowerPoint._Slide slide in pptPresenation.Slides)
{
Button btnNav = new Button();
btnNav.Name = slide.Name + "-" + slide.SlideNumber;
btnNav.Text = slide.Name;//This is the line where I need to get the Title
instead of name.
btnNav.Width = panLeftMenu.Width - 10;
btnNav.Left = 3;
btnNav.Top = buttonTop;
buttonTop = buttonTop + (btnNav.Height + 2);
btnNav.Click+=new EventHandler(btnNav_Click);
panLeftMenu.Controls.Add(btnNav);
}
}
catch { }
And apart from this I also would like to Play and Pause the slide show. How
do I go about that?
I need some help from you guys. Thanks