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

Free Support Forum - aspose.com

Table Header Row option

Hello,
I’m using a Java version of Aspose.Words.
I created a table using builder.startTable, builder.insertCell(). My question is: how do I make first two rows appeared at the top of each page as a header row? In MS Word, there is a option for row, “Repeat as header row at the top of each page.” I searched Row APIs, but didn’t find corresponding property to set.
Can you please point me to a right direction?
Thanks,
Michelle

Please ignore my posting. I found the property in RowFormat API (setHeadingFormat(boolean value))

Thanks,
Michelle

Hi
It is nice that you already found solution. Here is documentation reference for other customers who need that same:
https://reference.aspose.com/words/java/com.aspose.words/rowformat/#getHeadingFormat--
Best regards.