How to create a PDF file with UWP C #?

I want to create a PDF file using C # for UWP, but iTextSharp does not work for UWP, and I cannot find another third-party library that could create PDF files for UWP. Any suggestions?

+5
source share
4 answers

Try Syncfusion, they have a library for creating PDFs, they even have a PDF viewer for UWP.

http://www.syncfusion.com/products/uwp

+4
source

There is also XFINIUM.PDF, it supports UWP.
http://xfiniumpdf.com/xfinium-pdf-crossplatform/xfinium-pdf-overview.html

Disclaimer: I work for a company that develops this product.

+1
source

you need to use FileSavePicker(); to save the PDF document to disk after saving to the memory stream.

 PdfDocument document=new PdfDocument(); PdfPage page=document.Pages.Add(); document.Save(stream); document.Close(true); 

Note: these APIs are from the sync pdf library.

Relations Praveen

+1
source

You should try to highlight the PDF.

I have used this and very successfully.

-1
source

Source: https://habr.com/ru/post/1239903/


All Articles