OCROptions

OCROptions

Parameters for converting PDF to a searchable PDF using OCROperation.

Members

(static, constant) OCRSupportedType

Properties:
Name Type Description
SEARCHABLE_IMAGE string

Ensures that text is searchable and selectable. This option keeps the original image, deskews it as needed, and places an invisible text layer over it.

SEARCHABLE_IMAGE_EXACT string

Ensures that text is searchable and selectable. This option keeps the original image and places an invisible text layer over it. Recommended for cases requiring maximum fidelity to the original image.

List of supported OCR types for OCROperation

(static, constant) OCRSupportedLocale

Properties:
Name Type Description
DA_DK string

Represents "Danish (Denmark)" locale

LT_LT string

Represents "Lithuanian (Lithuania)" locale

SL_SI string

Represents "Slovenian (Slovenia)" locale

EL_GR string

Represents "Greek (Greece)" locale

RU_RU string

Represents "Russian (Russia)" locale

EN_US string

Represents "English (United States)" locale

ZH_HK string

Represents "Chinese (Hong Kong)" locale

HU_HU string

Represents "Hungarian (Hungary)" locale

ET_EE string

Represents "Estonian (Estonia)" locale

PT_BR string

Represents "Portuguese (Brazil)" locale

UK_UA string

Represents "Ukrainian (Ukraine)" locale

NB_NO string

Represents "Norwegian (Norway)" locale

PL_PL string

Represents "Polish (Poland)" locale

LV_LV string

Represents "Latvian (Latvia)" locale

FI_FI string

Represents "Finnish (Finland)" locale

JA_JP string

Represents "Japanese (Japan)" locale

ES_ES string

Represents "Spanish (Spain)" locale

BG_BG string

Represents "Bulgarian (Bulgaria)" locale

EN_GB string

Represents "English (United Kingdom)" locale

CS_CZ string

Represents "Czech (Czech Republic)" locale

MT_MT string

Represents "Maltese (Malta)" locale

DE_DE string

Represents "German (Germany)" locale

HR_HR string

Represents "Croatian (Croatia)" locale

SK_SK string

Represents "Slovak (Slovakia)" locale

SR_SR string

Represents "Serbian (Serbia)" locale

CA_CA string

Represents "Catalan (Canada)" locale

MK_MK string

Represents "Macedonian (Macedonia)" locale

KO_KR string

Represents "Korean (Korea)" locale

DE_CH string

Represents "German (Switzerland)" locale

NL_NL string

Represents "Dutch (Netherlands)" locale

ZH_CN string

Represents "Chinese (China)" locale

SV_SE string

Represents "Swedish (Sweden)" locale

IT_IT string

Represents "Italian (Italy)" locale

NO_NO string

Represents "Norwegian (Norway)" locale

TR_TR string

Represents "Turkish (Turkey)" locale

FR_FR string

Represents "French (France)" locale

RO_RO string

Represents "Romanian (Romania)" locale

IW_IL string

Represents "Hebrew (Israel)" locale

List of supported locales for OCROperation

Methods

(static) Builder() → {OCROptionsBuilder}

Returns a builder for OCROptions.

Returns:

A Builder instance for initializing OCROptions.

Type
OCROptionsBuilder