PDF (Portable Document Format) is a file format used to display the document with same formatting, independent of application software, hardware, and operating system. Syncfusion Essential PDF is a used to create, read, and edit PDF documents. Using this library, you can create a PDF document in Xamarin.Android.
Steps to create PDF programmatically:
b. In MainActivity.cs file, add the following code to define the click event to generate PDF document.
The code for SaveAndroid class is given as follows.
Note: To read and write a PDF document in the Android device, the storage permission must be given to the deployed application. To read/write with the external storage location, enable the required permissions in Android Manifest.
Take a moment to peruse the , where you can find other options like drawing right-to-left text and multi-column text, consuming TrueType fonts, Standard fonts, and CJK fonts. Also, the features like , extract or , and with code examples.
Starting with v16.2.0.x, if you reference Syncfusion assemblies from trial setup or from the NuGet feed, include a license key in your projects. Refer to to learn about generating and registering Syncfusion license key in your application to use the components without trail message.
|Article ID:||Published Date:||Last Revised Date:||Platform:||Control:|