Layout the contents during PDF export using Syncfusion.Pdf.Net.Core

Hello,
I am using PDF generator with Syncfusion.Pdf.Net.Core. I have below content to export to PDF. Basically it has 2 main columns/sections. I may use PdfTSimpleTable or PdfGrid for this layout. If using table, I feel less flexible to put different formatted text inside each cells of the table. But PdfGrid has flexibility of choosing a cell. Otherwise I need to use wholePdfHTMLTextElement. To avoid any re-works, do you have a suggestion to use any specific basic container for this PDF export so that I get the correct layout with 2 sections?


1 Reply 1 reply marked as answer

GK Gowthamraj Kumar Syncfusion Team June 7, 2021 12:24 PM UTC

Hi Jaish, 
 
Thank you for using Syncfusion products.   
   
Essential PDF allows you to add different cell styles to a cell in the PdfGrid by using our PDF library. We can customize the style of the complete grid cell from this approach. If you are using PdfHTMLTextElement, it supports rendering a style of each text inside the cell in a PDF document. This can be done by using the PdfHTMLTextElement class. The PdfHTMLTextElement class provides support for a basic set of HTML tags, to render HTML format text in the PDF document.   
 
Please refer to the below link for more information,   
   
You can use any of these approaches which suit your requirement. Please let us know if you need any further assistance with this.   
 
Regards, 
Gowthamraj K 


Marked as answer
Loader.
Up arrow icon