Pages

Friday, 21 February 2020

Generate a PDF File from HTML String

XFPDF

This repository demonstrates you to generate the PDF file from HTML string in Xamarin Forms without any third party package.
In Xamarin Forms, there is no default support either to generate the PDF or to view the PDF file. But you can achieve these requirements with native support through renderers for both Android and iOS platform.
The demo application in the repository is divided into three segments.
  1. Create HTML from URL.
  2. Convert the HTML string to PDF file.
  3. View the PDF file.
GitHub Link

No comments:

Post a Comment