FormRecognizerClient.StartRecognizeContentFromUriAsync Method

Definition

Recognizes layout elements from one or more passed-in forms.

public virtual System.Threading.Tasks.Task<Azure.AI.FormRecognizer.Models.RecognizeContentOperation> StartRecognizeContentFromUriAsync (Uri formUri, Azure.AI.FormRecognizer.RecognizeContentOptions recognizeContentOptions = default, System.Threading.CancellationToken cancellationToken = default);
abstract member StartRecognizeContentFromUriAsync : Uri * Azure.AI.FormRecognizer.RecognizeContentOptions * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.AI.FormRecognizer.Models.RecognizeContentOperation>
override this.StartRecognizeContentFromUriAsync : Uri * Azure.AI.FormRecognizer.RecognizeContentOptions * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.AI.FormRecognizer.Models.RecognizeContentOperation>
Public Overridable Function StartRecognizeContentFromUriAsync (formUri As Uri, Optional recognizeContentOptions As RecognizeContentOptions = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of RecognizeContentOperation)

Parameters

formUri
Uri

The absolute URI of the remote file to recognize elements from.

recognizeContentOptions
RecognizeContentOptions

A set of options available for configuring the recognize request. For example, specify the content type of the form, the language of the form, and which pages in a multi-page document to analyze.

cancellationToken
CancellationToken

A CancellationToken controlling the request lifetime.

Returns

A RecognizeContentOperation to wait on this long-running operation. Its Value upon successful completion will contain layout elements extracted from the form.

Applies to