NativeScript PdfBox
Apache Pdfbox for NativeScript. This plugin allows you to extract the text from a PDF file.
The screenshot is based on the sample.pdf included in the demo project.
Based on:
- Android PdfBox-Android
The plugin is currently only avaiable for Android.
Installation
tns plugin add nativescript-pdfbox
Usage
;; const appPath = fsknownFolderspath;const mySampleFile = appPath + '/sample.pdf';const removeLineBreaks: boolean = true; // optional, default is false const pdfbox: PdfBox = ;pdfbox ;
License
Apache License Version 2.0, January 2004