Share via


FormRecognizerClient.StartRecognizeContentFromUri Method

Definition

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

public virtual Azure.AI.FormRecognizer.Models.RecognizeContentOperation StartRecognizeContentFromUri (Uri formUri, Azure.AI.FormRecognizer.RecognizeContentOptions recognizeContentOptions = default, System.Threading.CancellationToken cancellationToken = default);
abstract member StartRecognizeContentFromUri : Uri * Azure.AI.FormRecognizer.RecognizeContentOptions * System.Threading.CancellationToken -> Azure.AI.FormRecognizer.Models.RecognizeContentOperation
override this.StartRecognizeContentFromUri : Uri * Azure.AI.FormRecognizer.RecognizeContentOptions * System.Threading.CancellationToken -> Azure.AI.FormRecognizer.Models.RecognizeContentOperation
Public Overridable Function StartRecognizeContentFromUri (formUri As Uri, Optional recognizeContentOptions As RecognizeContentOptions = Nothing, Optional cancellationToken As CancellationToken = Nothing) As 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