public final class RecognizeInvoicesOptions extends Object
| Constructor and Description |
|---|
RecognizeInvoicesOptions() |
| Modifier and Type | Method and Description |
|---|---|
FormContentType |
getContentType()
Get the type of the form.
|
FormRecognizerLocale |
getLocale()
Get the locale information for the invoice.
|
List<String> |
getPages()
Get the custom page numbers for multi-page documents(PDF/TIFF).
|
boolean |
isFieldElementsIncluded()
Get the boolean which specifies if to include form element references in the result.
|
RecognizeInvoicesOptions |
setContentType(FormContentType contentType)
Set the type of the form.
|
RecognizeInvoicesOptions |
setFieldElementsIncluded(boolean includeFieldElements)
Set the boolean which specifies if to include form element references in the result.
|
RecognizeInvoicesOptions |
setLocale(FormRecognizerLocale locale)
Set the locale information for the invoice.
|
RecognizeInvoicesOptions |
setPages(List<String> pages)
Set the custom page numbers for multi-page documents(PDF/TIFF).
|
public FormContentType getContentType()
contentType value.public boolean isFieldElementsIncluded()
includeFieldElements value.public RecognizeInvoicesOptions setContentType(FormContentType contentType)
contentType - the provided form content type.RecognizeInvoicesOptions value.public RecognizeInvoicesOptions setFieldElementsIncluded(boolean includeFieldElements)
includeFieldElements - the boolean to specify if to include form element references in the result.RecognizeInvoicesOptions value.public FormRecognizerLocale getLocale()
public RecognizeInvoicesOptions setLocale(FormRecognizerLocale locale)
locale - the locale value to set.RecognizeInvoicesOptions 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 RecognizeInvoicesOptions 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.RecognizeInvoicesOptions value.Copyright © 2021 Microsoft Corporation. All rights reserved.