Spire.Doc is a professional Word .NET library specifically designed for developers to create, read, write, convert and print Word document files. Get free and professional technical support for Spire.Doc for .NET, Java, Android, C++, Python.

Thu Apr 25, 2024 6:41 pm

how do you apply bands to table in spire doc table?
I can apply default styles but I want to band them(alternate rows shaded) on top of the exiting defaultTableStyle that I applied.

table.ApplyStyle(DefaultTableStyle.ListTable2Accent3);

remzyiceblue
 
Posts: 1
Joined: Thu Apr 25, 2024 6:31 pm

Fri Apr 26, 2024 2:08 am

Hi,

Thanks for your inquiry.
If set table style to DefaultTableStyle.ListTable2Accent3, the effect is the same as in the screenshot you provided. What effect do you want to achieve? You can offer the desired Word file. You can attach here or send it via email([email protected]). Thanks in advance.

Sincerely
Abel
E-iceblue support team
User avatar

Abel.He
 
Posts: 1010
Joined: Tue Mar 08, 2022 2:02 am

Return to Spire.Doc