We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Remove/Deleting existing table from a Slide

Hi,

I have a condition in my code, were I have to delete the complete existing table in a slide. I used below code where I am deleting all rows, but it is not working and 3 rows are always present.
I am using Aspose.Slides.NET.17.8 licensed version.

           for (int i = 0; i < tbl1.Rows.Count ; i++)
            {
                tbl1.Rows.RemoveAt(tbl1.Rows.Count - 1, true);
            }

Regards,
Neha K

@NehaKatak,

I have observed your comments. Can you please share complete sample project and source presentation, generated result so that we may further investigate to help you out.