| Constructor and Description |
|---|
ParseByTemplateOptions()
Initializes a new instance of the
ParseByTemplateOptions class. |
ParseByTemplateOptions(boolean useOcr)
Initializes a new instance of the
ParseByTemplateOptions class. |
ParseByTemplateOptions(boolean useOcr,
OcrOptions ocrOptions)
Initializes a new instance of the
ParseByTemplateOptions class. |
ParseByTemplateOptions(Integer pageIndex,
boolean useOcr)
Initializes a new instance of the
ParseByTemplateOptions class. |
ParseByTemplateOptions(Integer pageIndex,
boolean useOcr,
OcrOptions ocrOptions)
Initializes a new instance of the
ParseByTemplateOptions class. |
| Modifier and Type | Method and Description |
|---|---|
OcrOptions |
getOcrOptions()
Gets the OCR options.
|
Integer |
getPageIndex()
Gets the index of the page to parse;
null to parse all pages. |
boolean |
getUseOcr()
Gets the value that indicates whether OCR is used to extract data.
|
void |
setOcrOptions(OcrOptions ocrOptions)
Sets the OCR options.
|
void |
setPageIndex(Integer pageIndex)
Sets the index of the page to parse;
null to parse all pages. |
void |
setUseOcr(boolean useOcr)
Sets the value that indicates whether OCR is used to extract data.
|
public ParseByTemplateOptions()
ParseByTemplateOptions class.public ParseByTemplateOptions(boolean useOcr)
ParseByTemplateOptions class.useOcr - The value that indicates whether OCR is used to extract data.public ParseByTemplateOptions(boolean useOcr,
OcrOptions ocrOptions)
ParseByTemplateOptions class.useOcr - The value that indicates whether OCR is used to extract data.ocrOptions - The OCR options.public ParseByTemplateOptions(Integer pageIndex, boolean useOcr)
ParseByTemplateOptions class.pageIndex - The index of the page to parse; null to parse all pages.useOcr - The value that indicates whether OCR is used to extract data.public ParseByTemplateOptions(Integer pageIndex, boolean useOcr, OcrOptions ocrOptions)
ParseByTemplateOptions class.pageIndex - The index of the page to parse; null to parse all pages.useOcr - The value that indicates whether OCR is used to extract data.ocrOptions - The OCR options.public Integer getPageIndex()
null to parse all pages.null.public void setPageIndex(Integer pageIndex)
null to parse all pages.pageIndex - The page index, or null.public boolean getUseOcr()
true if OCR is used; otherwise, false.public void setUseOcr(boolean useOcr)
useOcr - true if OCR is used; otherwise, false.public OcrOptions getOcrOptions()
null if not set.public void setOcrOptions(OcrOptions ocrOptions)
ocrOptions - The OCR options.Copyright © 2026. All rights reserved.