Read Content with OCRv5
OCR (Optical Character Recognition) is a technology that converts scanned paper documents, PDF files, or images captured with digital cameras into editable and searchable data. OCR detects and recognizes characters within images, combines them into words, and then forms complete sentences.
The Read Content (OCR) action allows you to extract text from images. This feature is commonly used in document management systems to convert invoices, receipts, and other scanned documents into text. Once converted, documents can be indexed, filtered by keywords, and searched efficiently.

Read Content (OCR) Action Properties
Value Area: Specifies the form field where the recognized text will be written.
Remove Lines: If the image contains table lines or separators that should be ignored during text recognition, set Remove Lines to Yes.
Note
When Remove Lines is enabled, OCR checks each scanned line individually to determine whether it contains line elements. This improves recognition quality for structured documents but may reduce the OCR processing speed.
OCR Mapping: Use OCR Mapping when you want to extract only specific rows or fields from a document instead of processing the entire document. This allows only the required information to be transferred to the form. Multiple mapping rules can be added using the + button.
Two mapping types are available:
- Field – Extracts the first line containing a specified keyword.
- Row – Extracts a specific row based on its position within the recognized text.
Example 1 – Reading the Entire Document
Suppose you want to extract all text from a receipt and write it into a form field.
First, add a Text Box and a Button to the form.

Configure the button with the Read Content (OCR) action.

In the Value Area property, select the Text Box that will receive the recognized text. Since the receipt contains separator lines that should not appear in the output, set Remove Lines to Yes.
Save the action and run the form in the Client.

Client görünümü
When the user clicks the Read Text (OCR) button, a file selection dialog opens, allowing the user to choose the document to process.
For this example, a receipt image is selected.
Note : OCR accuracy depends heavily on image quality. For best results, scanned or photographed documents should have a minimum resolution of 300 DPI.
After selecting the image, all recognized text is extracted and written into the selected Text Box line by line.
The entire text content of the image has now been successfully recognized and transferred to the form.
Example 2 – OCR Mapping
If you do not need the entire document and want to extract only specific information, use OCR Mapping.
In this example, only the following values will be extracted from a receipt:
- Invoice Number
- Invoice Date
- Total
- Received Amount
Create a form containing separate fields for these values.
Configure the Read Content (OCR) action for the Read Text (OCR) Mapping button.
.
OCR Mapping Properties
Type: Select the mapping method.
- Row – Returns the text from the specified row number.
- Field – Searches for the specified keyword and returns the first matching line.
Field: Select the destination form field where the extracted value will be written.
Value:
- For Row, enter the row number to extract.
- For Field, enter the keyword to search for.
For this example:
- The first recognized row is written to the Customer field.
- The first line containing "TOTAL" is written to the Total field.
- The first line containing "RECEIVED" is written to the Received field.
- The first line containing "TOTAL" is also written to the Total2 field.
Run the form in the Client.
Click the Read Content (OCR) button and select the desired image file.
After processing is complete, the corresponding form fields are automatically populated with the extracted values according to the defined OCR mapping rules.
Client view