public final class RecognizeIdentityDocumentOptions extends Object
| Constructor and Description |
|---|
RecognizeIdentityDocumentOptions() |
| 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).
|
boolean |
isFieldElementsIncluded()
Get the boolean which specifies if to include form element references in the result.
|
RecognizeIdentityDocumentOptions |
setContentType(FormContentType contentType)
Set the type of the form.
|
RecognizeIdentityDocumentOptions |
setFieldElementsIncluded(boolean includeFieldElements)
Set the boolean which specifies if to include form element references in the result.
|
RecognizeIdentityDocumentOptions |
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 RecognizeIdentityDocumentOptions setContentType(FormContentType contentType)
contentType - the provided form content type.RecognizeIdentityDocumentOptions value.public RecognizeIdentityDocumentOptions setFieldElementsIncluded(boolean includeFieldElements)
includeFieldElements - the boolean to specify if to include form element references in the result.RecognizeIdentityDocumentOptions 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 RecognizeIdentityDocumentOptions 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.RecognizeIdentityDocumentOptions value.Copyright © 2021 Microsoft Corporation. All rights reserved.