OcrLanguage

Supported languages for OCR. Values of this enum class should be used together with performOcrOnPages. If you want to learn more about how to use OCR, please visit https://pspdfkit.com/guides/android/current/ocr/getting-started.

Entries

Link copied to clipboard

Croatian language (en) selector for OCR processing. Use this value with performOcrOnPages when performing text detection for Croatian documents. When using this value, make sure you have the Croatian OCR language pack added to your app, by adding the com.pspdfkit:pspdfkit-ocr-croatian dependency inside your build.gradle file:

Link copied to clipboard

Czech language (en) selector for OCR processing. Use this value with performOcrOnPages when performing text detection for Czech documents. When using this value, make sure you have the Czech OCR language pack added to your app, by adding the com.pspdfkit:pspdfkit-ocr-czech dependency inside your build.gradle file:

Link copied to clipboard

Danish language (en) selector for OCR processing. Use this value with performOcrOnPages when performing text detection for Danish documents. When using this value, make sure you have the Danish OCR language pack added to your app, by adding the com.pspdfkit:pspdfkit-ocr-danish dependency inside your build.gradle file:

Link copied to clipboard

Dutch language (en) selector for OCR processing. Use this value with performOcrOnPages when performing text detection for Dutch documents. When using this value, make sure you have the Dutch OCR language pack added to your app, by adding the com.pspdfkit:pspdfkit-ocr-dutch dependency inside your build.gradle file:

Link copied to clipboard

English language (en) selector for OCR processing. Use this value with performOcrOnPages when performing text detection for English documents. When using this value, make sure you have the English OCR language pack added to your app, by adding the com.pspdfkit:pspdfkit-ocr-english dependency inside your build.gradle file:

Link copied to clipboard

Finnish language (en) selector for OCR processing. Use this value with performOcrOnPages when performing text detection for Finnish documents. When using this value, make sure you have the Finnish OCR language pack added to your app, by adding the com.pspdfkit:pspdfkit-ocr-finnish dependency inside your build.gradle file:

Link copied to clipboard

French language (en) selector for OCR processing. Use this value with performOcrOnPages when performing text detection for French documents. When using this value, make sure you have the French OCR language pack added to your app, by adding the com.pspdfkit:pspdfkit-ocr-french dependency inside your build.gradle file:

Link copied to clipboard

German language (en) selector for OCR processing. Use this value with performOcrOnPages when performing text detection for German documents. When using this value, make sure you have the German OCR language pack added to your app, by adding the com.pspdfkit:pspdfkit-ocr-german dependency inside your build.gradle file:

Link copied to clipboard

Indonesian language (en) selector for OCR processing. Use this value with performOcrOnPages when performing text detection for Indonesian documents. When using this value, make sure you have the Indonesian OCR language pack added to your app, by adding the com.pspdfkit:pspdfkit-ocr-indonesian dependency inside your build.gradle file:

Link copied to clipboard

Italian language (en) selector for OCR processing. Use this value with performOcrOnPages when performing text detection for Italian documents. When using this value, make sure you have the Italian OCR language pack added to your app, by adding the com.pspdfkit:pspdfkit-ocr-italian dependency inside your build.gradle file:

Link copied to clipboard

Malay language (en) selector for OCR processing. Use this value with performOcrOnPages when performing text detection for Malay documents. When using this value, make sure you have the Malay OCR language pack added to your app, by adding the com.pspdfkit:pspdfkit-ocr-malay dependency inside your build.gradle file:

Link copied to clipboard

Norwegian language (en) selector for OCR processing. Use this value with performOcrOnPages when performing text detection for Norwegian documents. When using this value, make sure you have the Norwegian OCR language pack added to your app, by adding the com.pspdfkit:pspdfkit-ocr-norwegian dependency inside your build.gradle file:

Link copied to clipboard

Polish language (en) selector for OCR processing. Use this value with performOcrOnPages when performing text detection for Polish documents. When using this value, make sure you have the Polish OCR language pack added to your app, by adding the com.pspdfkit:pspdfkit-ocr-polish dependency inside your build.gradle file:

Link copied to clipboard

Portuguese language (en) selector for OCR processing. Use this value with performOcrOnPages when performing text detection for Portuguese documents. When using this value, make sure you have the Portuguese OCR language pack added to your app, by adding the com.pspdfkit:pspdfkit-ocr-portuguese dependency inside your build.gradle file:

Link copied to clipboard

Serbian language (en) selector for OCR processing. Use this value with performOcrOnPages when performing text detection for Serbian documents. When using this value, make sure you have the Serbian OCR language pack added to your app, by adding the com.pspdfkit:pspdfkit-ocr-serbian dependency inside your build.gradle file:

Link copied to clipboard

Slovak language (en) selector for OCR processing. Use this value with performOcrOnPages when performing text detection for Slovak documents. When using this value, make sure you have the Slovak OCR language pack added to your app, by adding the com.pspdfkit:pspdfkit-ocr-slovak dependency inside your build.gradle file:

Link copied to clipboard

Slovenian language (en) selector for OCR processing. Use this value with performOcrOnPages when performing text detection for Slovenian documents. When using this value, make sure you have the Slovenian OCR language pack added to your app, by adding the com.pspdfkit:pspdfkit-ocr-slovenian dependency inside your build.gradle file:

Link copied to clipboard

Spanish language (en) selector for OCR processing. Use this value with performOcrOnPages when performing text detection for Spanish documents. When using this value, make sure you have the Spanish OCR language pack added to your app, by adding the com.pspdfkit:pspdfkit-ocr-spanish dependency inside your build.gradle file:

Link copied to clipboard

Swedish language (en) selector for OCR processing. Use this value with performOcrOnPages when performing text detection for Swedish documents. When using this value, make sure you have the Swedish OCR language pack added to your app, by adding the com.pspdfkit:pspdfkit-ocr-swedish dependency inside your build.gradle file:

Link copied to clipboard

Turkish language (en) selector for OCR processing. Use this value with performOcrOnPages when performing text detection for Turkish documents. When using this value, make sure you have the Turkish OCR language pack added to your app, by adding the com.pspdfkit:pspdfkit-ocr-turkish dependency inside your build.gradle file:

Link copied to clipboard

Welsh language (en) selector for OCR processing. Use this value with performOcrOnPages when performing text detection for Welsh documents. When using this value, make sure you have the Welsh OCR language pack added to your app, by adding the com.pspdfkit:pspdfkit-ocr-welsh dependency inside your build.gradle file:

Properties

Link copied to clipboard

Functions

Link copied to clipboard
open fun valueOf(name: String): OcrLanguage

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard
open fun values(): Array<OcrLanguage>

Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.