public final class RecognizeCustomFormsOptions extends Object
| Constructor and Description |
|---|
RecognizeCustomFormsOptions() |
| Modifier and Type | Method and Description |
|---|---|
FormContentType |
getContentType()
Get the type of the form.
|
List<String> |
getPages()
Get the custom page numbers for multi-page documents(PDF/TIFF).
|
Duration |
getPollInterval()
Get the duration between each poll for the operation status.
|
boolean |
isFieldElementsIncluded()
Get the boolean which specifies if to include form element references in the result.
|
RecognizeCustomFormsOptions |
setContentType(FormContentType contentType)
Set the type of the form.
|
RecognizeCustomFormsOptions |
setFieldElementsIncluded(boolean includeFieldElements)
Set the boolean which specifies if to include form element references in the result.
|
RecognizeCustomFormsOptions |
setPages(List<String> pages)
Set the custom page numbers for multi-page documents(PDF/TIFF).
|
RecognizeCustomFormsOptions |
setPollInterval(Duration pollInterval)
Set the duration between each poll for the operation status.
|
public FormContentType getContentType()
contentType value.public boolean isFieldElementsIncluded()
includeFieldElements value.public Duration getPollInterval()
pollInterval value.public RecognizeCustomFormsOptions setContentType(FormContentType contentType)
contentType - the provided form content type.RecognizeCustomFormsOptions value.public RecognizeCustomFormsOptions setFieldElementsIncluded(boolean includeFieldElements)
includeFieldElements - the boolean to specify if to include form element references in the result.RecognizeCustomFormsOptions value.public RecognizeCustomFormsOptions setPollInterval(Duration pollInterval)
pollInterval - the duration to specify between each poll for the operation status.RecognizeCustomFormsOptions value.public List<String> getPages()
For a range of pages, use a hyphen, ex - ["1-3"]. Separate each page or a page range with a comma, ex - ["1-3", 4].
public RecognizeCustomFormsOptions setPages(List<String> pages)
For a range of pages, use a hyphen, ex - ["1-3"]. Separate each page or a page range with a comma, ex - ["1-3", 4].
pages - the custom page numbers value to set.RecognizeCustomFormsOptions value.Copyright © 2021. All rights reserved.