We are generating a pdf report using aspose.pdf. We have several tables (one table in one paragraph) on that report. So we are using “IsKeptTogether” property under “Paragraph” class to keep the respective table in one page. It should not split between two pages. But it is not working in our case. The following is our code:
Text data = new Text(sbHtml.ToString());
data.ID = "regulatoryissues";
data.IsHtmlTagSupported = true;
data.IsKeptTogether = true;
section.Paragraphs["regulatoryissues"].IsKeptTogether = true;
Could you please suggest any other way? Could you please suggest any other way?