Read
Frends task to read Pdf documents
Last updated
Was this helpful?
Frends task to read Pdf documents
Task version: 1.2.0
Required Frends version: 5.7+
Required .NET version: 8.0
Compatible Agents: Crossplatform
FilePath : String
Full path to the PDF file.
Default: -
Example: C:\temp\file.pdf
IncludeImages : Boolean
Include images in result.
Default: False
Example: false
ThrowErrorOnFailure : Boolean
Whether to throw an error on failure.
Default: True
Example: true
ErrorMessageOnFailure : String
Overrides the error message on failure.
Default: -
Example: Custom error message
Success : Boolean
Indicates if the task completed successfully.
Example: true
Json : String
JSON representation of the extracted PDF content, including document metadata and page-level content. Text is extracted in reading order; tables and columns are flattened. Images (if IncludeImages is true) are returned as a byte array, with its width and height. If the extraction library could convert the image, Format is "PNG"; otherwise Format is "RAW". A single visible image may produce multiple extracted images due to transparency masks or internal PDF structure.
Example: { "Metadata": { "Title": "Example PDF", "Author": "John Doe", "PageCount": 2 }, "Pages": [ { "Number": 1, "Text": "Hello world", "Images": [] }, { "Number": 2, "Text": "Second page text", "Images": [] } ] }
Error : Error
Error that occurred during task execution.
Example: object { string Message, Exception AdditionalInfo }
Changelog for Task Frends.Pdf.Read.
Ensure FrendsTaskMetadata.json is included in NuGet package
Rename task prefix from PDF to Pdf
Initial implementation
Last updated
Was this helpful?
Was this helpful?

