Identifying tables


There are multiple tables in my PPT - how do I identify them?

I have this code:

for(int i = 0; i < slide1.Shapes.Count; i++)


if(slide1.ShapesIdea [I] is Table)


table1 = (Aspose.PowerPoint.Table)slide1.ShapesIdea [I];




But this only identifies the first occurence of a table and then breaks out of the loop.. How do I get the others?


You can remove “break” and add found tables to some collection or you can place table handling right after

table1 = (Aspose.PowerPoint.Table)slide1.Shapes[ i ];