Excel to PDF conversion

Hi Team,
I am trying to convert Excel to PDF my issue is some cells have more content which is not showing properly, I want that converted pdf text should be autofit column text so we see all text of the cell instead of hided text.

1 Like

Hi there,

Thanks for contacting WebViewer forums,

I believe what you are looking for is the setExcelDefaultCellBorderWidth:
https://docs.apryse.com/api/web/Core.PDFNet.Convert.OfficeToPDFOptions.html#setExcelDefaultCellBorderWidth__anchor

Please give that a try and let us know how it works for you.

Best regards,
Kevin Kim

1 Like

Hi Kavin,

Thanks for response!!
Suggested parameter added here

I have used the parameter that you have suggested but still not resolved my concern, here you could see text of cell is still hiding as highlighted in attached screenshot.

Actually I am looking for the excel column width should be autofit so a large content of column can be visible after pdf conversion.

Regards,
Murari Jha

1 Like

Hi there,

Could you please try auto-fitting the column width from excel and then make the conversion?

If the issue is not resolved, could you please share the input excel file and the generated PDF file.

Best regards,
Kevin Kim

1 Like