Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I create a header in a table for each new page with Word interop?

I am trying to create a table with a header. I want this header to be repeated for each new page that the table takes. How can I do this in C# with Word 2007 Interop?

like image 490
Partial Avatar asked Oct 26 '25 03:10

Partial


1 Answers

Microsoft.Office.Interop.Word.Table table;
/* ... */
table.Rows[1].HeadingFormat = -1;
like image 155
Partial Avatar answered Oct 27 '25 16:10

Partial



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!