//--- Create a new Worksheet
PowerPointApplication ppta = new PowerPointApplication();
Presentation pres = ppta.Create(PowerPointWriter.FileFormat.Pptx);
Slide slide1 = pres.Slides[0];
//--- Get an existing Worksheet by index
PowerPointApplication ppta = new PowerPointApplication();
Presentation pres = ppta.Create();
Slide slide1 = pres.Slides[0];
//--- Get an existing Worksheet by name
PowerPointApplication ppta = new PowerPointApplication();
Presentation pres = ppta.Create();
Slide slide1 = pres.Slides["Slide1"];
|