RecognizeBusinessCardsOptions Class
- java.
lang. Object - com.
azure. ai. formrecognizer. models. RecognizeBusinessCardsOptions
- com.
public final class RecognizeBusinessCardsOptions
Options that may be passed when using recognize business card APIs on Form Recognizer client.
Constructor | Description |
---|---|
Recognize |
Create a |
Modifier and Type | Method and Description |
---|---|
Form |
get Get the type of the form. |
Form |
get Get the locale value. |
List<String> |
get Get the custom page numbers for multi-page documents(PDF/TIFF). |
boolean |
is Get the boolean which specifies if to include form element references in the result. |
Recognize |
set Set the type of the form. |
Recognize |
set Set the boolean which specifies if to include form element references in the result. |
Recognize |
set Set the locale value. |
Recognize |
set Set the custom page numbers for multi-page documents(PDF/TIFF). |
Methods inherited from java.lang.Object
RecognizeBusinessCardsOptions
public RecognizeBusinessCardsOptions()
Create a RecognizeBusinessCardOptions
object.
getContentType
public FormContentType getContentType()
Get the type of the form. Supported Media types including .pdf, .jpg, .png or .tiff type file stream.
Returns:
contentType
value.getLocale
public FormRecognizerLocale getLocale()
Get the locale value. Supported locales include: en-AU, en-CA, en-GB, en-IN, en-US.
Returns:
getPages
public List
Get the custom page numbers for multi-page documents(PDF/TIFF). Input the number of the pages you want to get the recognized result for.
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].
Returns:
isFieldElementsIncluded
public boolean isFieldElementsIncluded()
Get the boolean which specifies if to include form element references in the result.
Returns:
includeFieldElements
value.setContentType
public RecognizeBusinessCardsOptions setContentType(FormContentType contentType)
Set the type of the form. Supported Media types including .pdf, .jpg, .png or .tiff type file stream.
Parameters:
Returns:
RecognizeBusinessCardOptions
value.setFieldElementsIncluded
public RecognizeBusinessCardsOptions setFieldElementsIncluded(boolean includeFieldElements)
Set the boolean which specifies if to include form element references in the result.
Parameters:
Returns:
RecognizeBusinessCardOptions
value.setLocale
public RecognizeBusinessCardsOptions setLocale(FormRecognizerLocale locale)
Set the locale value. Supported locales include: en-AU, en-CA, en-GB, en-IN, en-US.
Parameters:
Returns:
setPages
public RecognizeBusinessCardsOptions setPages(List
Set the custom page numbers for multi-page documents(PDF/TIFF). Input the number of the pages you want to get the recognized result for.
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].
Parameters:
Returns:
RecognizeBusinessCardsOptions
value.Azure SDK for Java geri bildirimi
Azure SDK for Java, açık kaynak bir projedir. Geri bildirim sağlamak için bir bağlantı seçin: