DocumentAnalysisModelFactory.DocumentField Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of DocumentField.
public static Azure.AI.FormRecognizer.DocumentAnalysis.DocumentField DocumentField (Azure.AI.FormRecognizer.DocumentAnalysis.DocumentFieldType fieldType, Azure.AI.FormRecognizer.DocumentAnalysis.DocumentFieldValue value, string content, System.Collections.Generic.IReadOnlyList<Azure.AI.FormRecognizer.DocumentAnalysis.BoundingRegion> boundingRegions, System.Collections.Generic.IReadOnlyList<Azure.AI.FormRecognizer.DocumentAnalysis.DocumentSpan> spans, float? confidence);
static member DocumentField : Azure.AI.FormRecognizer.DocumentAnalysis.DocumentFieldType * Azure.AI.FormRecognizer.DocumentAnalysis.DocumentFieldValue * string * System.Collections.Generic.IReadOnlyList<Azure.AI.FormRecognizer.DocumentAnalysis.BoundingRegion> * System.Collections.Generic.IReadOnlyList<Azure.AI.FormRecognizer.DocumentAnalysis.DocumentSpan> * Nullable<single> -> Azure.AI.FormRecognizer.DocumentAnalysis.DocumentField
Public Shared Function DocumentField (fieldType As DocumentFieldType, value As DocumentFieldValue, content As String, boundingRegions As IReadOnlyList(Of BoundingRegion), spans As IReadOnlyList(Of DocumentSpan), confidence As Nullable(Of Single)) As DocumentField
Parameters
- fieldType
- DocumentFieldType
Data type of the field value.
- value
- DocumentFieldValue
The value of this DocumentField(DocumentFieldType, DocumentFieldValue, String, IReadOnlyList<BoundingRegion>, IReadOnlyList<DocumentSpan>, Nullable<Single>).
- content
- String
Field content.
- boundingRegions
- IReadOnlyList<BoundingRegion>
Bounding regions covering the field.
- spans
- IReadOnlyList<DocumentSpan>
Location of the field in the reading order concatenated content.
Returns
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET