Share via


RecognizeBusinessCardsOptions Class

Definition

The set of options that can be specified when calling a Recognize Business Cards method to configure the behavior of the request. For example, specify the content type of the form, the locale of the form, or whether or not to include form elements.

public class RecognizeBusinessCardsOptions
type RecognizeBusinessCardsOptions = class
Public Class RecognizeBusinessCardsOptions
Inheritance
RecognizeBusinessCardsOptions

Constructors

RecognizeBusinessCardsOptions()

Initializes a new instance of the RecognizeBusinessCardsOptions class which allows to set options that can be specified when calling a Recognize Business Cards method to configure the behavior of the request. For example, specify the content type of the form, the locale of the form, or whether or not to include form elements.

Properties

ContentType

When set, specifies the content type for uploaded streams and skips automatic content type detection.

IncludeFieldElements

Whether or not to include all lines per page and field elements such as lines, words, and selection marks for each form field.

Locale

Sets the locale information for the business card. Supported locales include: en-AU, en-CA, en-GB, en-IN, en-US.

Pages

Custom page numbers for multi-page documents(PDF/TIFF). Input the page numbers and/or ranges of pages you want to get in the result. For a range of pages, use a hyphen, like `Pages = { "1-3", "5-6" }`. Separate each page number or range with a comma.

Although this collection cannot be set, it can be modified. See Object initializers with collection read-only property initialization.

Applies to