Spire.Presentation is a professional PowerPoint® compatible library that enables developers to create, read, write, modify, convert and Print PowerPoint documents. Get free and professional technical support for Spire.Presentation for .NET, Java, Android, C++, Python.

Fri Feb 16, 2018 11:44 am

Hi

I'm adding some big tables to my presentation and wonder whether I can define some default style for it.
Now I'm just settings things cell by cell which is not very convenient

For Example :

Code: Select all
            table[i, j].TextFrame.Paragraphs[0].Alignment = TextAlignmentType.Center;
            table[i, j].TextFrame.Paragraphs[0].FirstTextRange.FontHeight = 18;
            table[i, j].TextAnchorType = TextAnchorType.Center;


I will appreciate any tips on how to define such kind of properties in bulk. Without iterating through every cell

Regards

Stecya
 
Posts: 27
Joined: Wed Jan 10, 2018 2:36 pm

Mon Feb 19, 2018 2:31 am

Hello Stecya,

Thanks for your inquiry.
Sorry, there is no convenient way as this is the only one way to do the settings at present.

Sincerely,
Amy
E-iceblue support team
User avatar

amy.zhao
 
Posts: 2766
Joined: Wed Jun 27, 2012 8:50 am

Return to Spire.Presentation