We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Cannot use DocToPDFConverter in .NET MAUI project

I want to use a Flow Layout in order to create a PDF document. I follow this sample. It creates a Word Document and then converts it to a PDF: 
Flow layout | Syncfusion

Q: Which nuget package contains the class  DocToPDFConverter?

Documentation says:  Syncfusion.DocIO.NET  

but the namespace  Syncfusion.DocToPDFConverter is not available 

So, what do I have to install? Thanks for your help!

1 Reply

IJ Irfana Jaffer Sadhik Syncfusion Team December 27, 2022 10:15 AM UTC

From further analysis we found that you need to use a flow layout in order to create a PDF document and this is done by creating a Word document and then convert it to PDF.

In order to convert Word document to PDF in MAUI we suggest you to install Syncfusion.DocIORenderer.NET NuGet packages.

Please refer the below UG documentation to know more about Word To PDF conversion

Please refer the below UG documentation to know about the NuGet packages need to be installed in your application for Word to PDF conversion

We have prepared a sample to convert Word document to PDF in .NET MAUI and shared here. Please refer to the sample.

Attachment: WordToPDFMAUI_d95810b9_5a1018ac.zip

Live Chat Icon For mobile
Up arrow icon