How to generate PDF using blazor component

Hi,
I have referred this linkhttps://help.syncfusion.com/file-formats/pdf/create-pdf-document-in-blazor to generate Pdf in blazor. This is working perfectly as per given example in link but can you provide some example to generate Pdf file using blazor component in blazor technique??
Actually I have tried while making html to string and passed this string to

PdfTextElement content = new PdfTextElement(htmlstring, contentFont, PdfBrushes.Black);
but this is displaying as it is string generated.so it will be helpful if you provide some example to create pdf.

Thanks.

1 Reply

SL Sowmiya Loganathan Syncfusion Team April 22, 2020 09:41 AM UTC

Hi Ashwini,   
 
Thank you for contacting Syncfusion support.   
 
We have analyzed your requirement “Add HTML styled text to PDF document in Blazor platform”. At present we do not have support for this and this can be supported in base platforms like WF, WPF and ASP.NET Core. Please refer the below documentation link for more details,  
 
Please let us know if you need any further assistance on this.   
 
Regards,  
Sowmiya Loganathan  
 


Loader.
Up arrow icon