Share via


DocumentAnalysisModelFactory.AnalyzeResult Method

Definition

Initializes a new instance of AnalyzeResult.

public static Azure.AI.FormRecognizer.DocumentAnalysis.AnalyzeResult AnalyzeResult (string modelId = default, string content = default, System.Collections.Generic.IEnumerable<Azure.AI.FormRecognizer.DocumentAnalysis.DocumentPage> pages = default, System.Collections.Generic.IEnumerable<Azure.AI.FormRecognizer.DocumentAnalysis.DocumentTable> tables = default, System.Collections.Generic.IEnumerable<Azure.AI.FormRecognizer.DocumentAnalysis.DocumentKeyValuePair> keyValuePairs = default, System.Collections.Generic.IEnumerable<Azure.AI.FormRecognizer.DocumentAnalysis.DocumentStyle> styles = default, System.Collections.Generic.IEnumerable<Azure.AI.FormRecognizer.DocumentAnalysis.DocumentLanguage> languages = default, System.Collections.Generic.IEnumerable<Azure.AI.FormRecognizer.DocumentAnalysis.AnalyzedDocument> documents = default, System.Collections.Generic.IEnumerable<Azure.AI.FormRecognizer.DocumentAnalysis.DocumentParagraph> paragraphs = default, string serviceVersion = default);
static member AnalyzeResult : string * string * seq<Azure.AI.FormRecognizer.DocumentAnalysis.DocumentPage> * seq<Azure.AI.FormRecognizer.DocumentAnalysis.DocumentTable> * seq<Azure.AI.FormRecognizer.DocumentAnalysis.DocumentKeyValuePair> * seq<Azure.AI.FormRecognizer.DocumentAnalysis.DocumentStyle> * seq<Azure.AI.FormRecognizer.DocumentAnalysis.DocumentLanguage> * seq<Azure.AI.FormRecognizer.DocumentAnalysis.AnalyzedDocument> * seq<Azure.AI.FormRecognizer.DocumentAnalysis.DocumentParagraph> * string -> Azure.AI.FormRecognizer.DocumentAnalysis.AnalyzeResult
Public Shared Function AnalyzeResult (Optional modelId As String = Nothing, Optional content As String = Nothing, Optional pages As IEnumerable(Of DocumentPage) = Nothing, Optional tables As IEnumerable(Of DocumentTable) = Nothing, Optional keyValuePairs As IEnumerable(Of DocumentKeyValuePair) = Nothing, Optional styles As IEnumerable(Of DocumentStyle) = Nothing, Optional languages As IEnumerable(Of DocumentLanguage) = Nothing, Optional documents As IEnumerable(Of AnalyzedDocument) = Nothing, Optional paragraphs As IEnumerable(Of DocumentParagraph) = Nothing, Optional serviceVersion As String = Nothing) As AnalyzeResult

Parameters

modelId
String

Model ID used to produce this result.

content
String

Concatenate string representation of all textual and visual elements in reading order.

pages
IEnumerable<DocumentPage>

Analyzed pages.

tables
IEnumerable<DocumentTable>

Extracted tables.

keyValuePairs
IEnumerable<DocumentKeyValuePair>

Extracted key-value pairs.

styles
IEnumerable<DocumentStyle>

Extracted font styles.

languages
IEnumerable<DocumentLanguage>

Detected languages.

documents
IEnumerable<AnalyzedDocument>

Extracted documents.

paragraphs
IEnumerable<DocumentParagraph>

Extracted paragraphs.

serviceVersion
String

Service version used to produce this result.

Returns

A new AnalyzeResult instance for mocking.

Applies to