Get Text From Rectangle
This activity extracts text from a specified rectangular area in a PDF document provided as a memory stream.
Core Functions
- Reads the PDF file from the provided memory stream.
- Extracts textual content from the specified rectangle coordinates on the given page.
- Returns the extracted text as output.
Inputs
PdfMemoryStream:Represents the source PDF file in memory stream format.
Type: MemoryStreamPage Index:Specifies the page number to extract text from.
Type: IntegerX0:Specifies the left coordinate of the rectangle.
Type: FloatX1:Specifies the right coordinate of the rectangle.
Type: FloatY0:Specifies the top coordinate of the rectangle.
Type: FloatY1:Specifies the bottom coordinate of the rectangle.
Type: Float
Outputs
- Output:The text extracted from the specified rectangular area of the PDF page.
Type: String
Short Technical Summary
Extracts text from a defined rectangle in a PDF memory stream based on page index and coordinates, and returns it as plain text.