GetLiveText
Returns the text found in the image of the specified container field using the text-recognition algorithm.
Format
GetLiveText ( container ; language )
Parameters
container
- any expression that returns container data.
language
- the language code of the text-recognition algorithm to use (see below).
Data type returned
text
Originated in version
19.5.1
Description
Use this function to capture the text found in the image in the specified container field using the text-recognition algorithm on supported versions of iOS, iPadOS, and macOS.
For language
, use one of the following language codes to specify the text-recognition algorithm:
-
"en-US"
-
"fr-FR"
-
"it-IT"
-
"de-DE"
-
"es-ES"
-
"pt-BR"
-
"zh-Hans"
-
"ja-JP"
-
"ko-KR"
-
"uk-UA"
-
"th-TH"
-
"vi-VN"
-
"ar-SA"1
-
"ars-SA"1
-
Supported in operating systems starting with iOS 18, iPadOS 18 and macOS 15.
Example 1
In the InvoiceText field, stores the text extracted from the image in the InvoiceContainer field using the en-US text-recognition algorithm.
Set Field [Invoices::InvoiceText ; GetLiveText ( Invoices::InvoiceContainer ; "en-US" )]