Set HeadingFormat via Html

Hi, I am trying to insert a table via html. Is there a way to tell Aspose which rows are supposed to be heading rows and have HeadingFormat set to true.

For instance, can I give each heading row a specific class that Aspose will interpret such as tr class=“headingrow” ?

@WillR27,

You can make use of <table>'s <thead> and <tbody> tags to get the desired output. For example, please try running the following code on this html ()sampleHTML.zip (1.2 KB)

Document doc = new Document("e:\\temp\\sampleHTML.html");
doc.Save("e:\\Temp\\19.5.docx");

Hope, this helps.