Show / Hide Table of Contents

Class OCRParams.Builder

Builds an OCRParams instance.

Inheritance
System.Object
OCRParams.Builder
Namespace: Adobe.PDFServicesSDK.pdfjobs.parameters.ocr
Assembly: Adobe.PDFServicesSDK.Doc.dll
Syntax
public class Builder

Methods

Build()

Returns a new OCRParams instance built from the current state of this builder.

Declaration
public OCRParams Build()
Returns
Type Description
OCRParams

A new OCRParams instance

WithOcrLocale(OCRSupportedLocale)

Sets input language to be used for OCR, specified by OCRSupportedLocale.

Declaration
public OCRParams.Builder WithOcrLocale(OCRSupportedLocale ocrLocale)
Parameters
Type Name Description
OCRSupportedLocale ocrLocale

OCRSupportedLocale. Default value is EN_US

Returns
Type Description
OCRParams.Builder

this Builder instance to add any additional parameters

WithOcrType(OCRSupportedType)

Sets OCR type, specified by OCRSupportedType

Declaration
public OCRParams.Builder WithOcrType(OCRSupportedType ocrType)
Parameters
Type Name Description
OCRSupportedType ocrType

OCRSupportedType. Default value is SEARCHABLE_IMAGE

Returns
Type Description
OCRParams.Builder

this Builder instance to add any additional parameters

In This Article
Back to top Copyright © 2020 Adobe. All rights reserved.