Share via


RecognizeCustomFormsOptions Class

Definition

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

public class RecognizeCustomFormsOptions
type RecognizeCustomFormsOptions = class
Public Class RecognizeCustomFormsOptions
Inheritance
RecognizeCustomFormsOptions

Constructors

RecognizeCustomFormsOptions()

Initializes a new instance of the RecognizeCustomFormsOptions class which allows to set options that can be specified when calling a Recognize Custom Forms method to configure the behavior of the request. For example, specify the content type 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.

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