Creating a Table on PowerPoint Slide
Contents
[
Hide
]
Tables are widely used to display data on presentation slides. This article shows how to create a 15 x 15 table with a font size of 10 programmatically using first VSTO 2008 and then Aspose.Slides for Java.
Creating Tables
VSTO 2008 Example
The following steps add a table to a Microsoft PowerPoint slide using VSTO:
- Create a presentation.
- Add an empty slide is added to the presentation.
- Add a 15 x 15 table to the slide.
- Add text to each cell of the table with a font size of 10.
- Save the presentation to disk.
Aspose.Slides for Java Example
The following steps add a table to a Microsoft PowerPoint slide using Aspose.Slides:
- Create a presentation.
- Add a 15 x 15 table to the first slide.
- Add text to each cell of the table with a font size of 10.
- Write the presentation to disk.