FRENDS Community Task for PdfReaderTask
You can install the task via FRENDS UI Task View or you can find the NuGet package from the following NuGet feed https://www.myget.org/F/frends-community/api/v3/index.json and in Gallery view in MyGet https://www.myget.org/feed/frends-community/package/nuget/Frends.Community.PdfReader
Read the text content of a pdf-file. OBS! Doesn't do OCR. If pdf-file contains Forms, flatten them and read the form fields aswell.
Property | Type | Description | Example |
---|---|---|---|
Options | Options(see below) |
Settings for reading the PDF file.
Property | Type | Description | Example |
---|---|---|---|
ReadFromFile | bool | Read PDF from a file. | true |
PdfLocation | string | Location of the PDF file. | C:\Pdf_Output\my_pdf_file.pdf |
InputBytes | byte[] | PDF bytes | |
Page | int | Specify which page to read. 0 read every page | 1 |
A result object with parameters.
Property | Type | Description | Example |
---|---|---|---|
Content | string | PDF content | "This is a test pdf. It contains all the info. " |
Usage: To fetch result use syntax:
#result.Content
Clone a copy of the repo
git clone https://github.com/CommunityHiQ/Frends.Community.PdfReader.git
Rebuild the project
dotnet build
Run Tests
dotnet test
Create a NuGet package
dotnet pack --configuration Release
When contributing to this repository, please first discuss the change you wish to make via issue, email, or any other method with the owners of this repository before making a change.
- Fork the repo on GitHub
- Clone the project to your own machine
- Commit changes to your own branch
- Push your work back up to your fork
- Submit a Pull request so that we can review your changes
NOTE: Be sure to merge the latest from "upstream" before making a pull request!
Version | Changes |
---|---|
0.0.3 | Initial version of PdfReader |
0.0.4 | Suport for acro fields |
0.0.7 | Multi-framework support , using iText7 |