Aracılığıyla paylaş


RecognizeInvoicesOptions Class

Definition

The set of options that can be specified when calling a Recognize Invoices 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 RecognizeInvoicesOptions
type RecognizeInvoicesOptions = class
Public Class RecognizeInvoicesOptions
Inheritance
RecognizeInvoicesOptions

Constructors

RecognizeInvoicesOptions()

Initializes a new instance of the RecognizeInvoicesOptions class which allows to set options that can be specified when calling a Recognize Invoices 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 invoice. Supported locales include: 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