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 04, 2024 12:38 pm

Hi Team ,

Can you help me how to apply "Heading1" style to Table Object .


Thanks in advance

pr20080798
 
Posts: 159
Joined: Wed Jan 20, 2021 1:15 pm

Fri Apr 05, 2024 3:30 am

Hi,

Thanks for your inquiry.
Please note that the “Heading 1” style can only be set to Paragraph object not to Table object. Are you want to apply “Heading 1” style for all paragraphs in Table? If so, you need to traverse every paragraphs of every table Cells, then set “Heading 1” style for paragraph.

Sincerely
Abel
E-iceblue support team
User avatar

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

Return to Spire.Doc

cron