Query related to table

Hi,

I am using aspose.PDF version 20.10. I want to know below mention some point :

  1. Is it possible to auto fit the table which is having lots of column and row with different size to page?
  2. Auto fit the text inside the cell.
  3. Place table in landscape.

Thanks in advance.

@saquibs

You can set Table.ColumnAdjustment Property in order to achieve your requirements. This property lets you specify the column adjustments according to window/page or content/text. Furthermore, the text inside a table cell will remain within the cell boundaries. You can set its formatting by setting Table.DefaultCellTextState Property.

You can change page orientation as per your needs and then add the table inside it. Page orientation can be changed by changing Page.PageInfo.Height and Width properties. Please let us know in case you experience any issues by sharing an expected output PDF document. We will test the scenario in our environment and address it accordingly.