Partager via


DocumentAnalysisModelFactory.DocumentParagraph Méthode

Définition

Initialise une nouvelle instance de DocumentParagraph.

public static Azure.AI.FormRecognizer.DocumentAnalysis.DocumentParagraph DocumentParagraph (Azure.AI.FormRecognizer.DocumentAnalysis.ParagraphRole? role = default, string content = default, System.Collections.Generic.IEnumerable<Azure.AI.FormRecognizer.DocumentAnalysis.BoundingRegion> boundingRegions = default, System.Collections.Generic.IEnumerable<Azure.AI.FormRecognizer.DocumentAnalysis.DocumentSpan> spans = default);
static member DocumentParagraph : Nullable<Azure.AI.FormRecognizer.DocumentAnalysis.ParagraphRole> * string * seq<Azure.AI.FormRecognizer.DocumentAnalysis.BoundingRegion> * seq<Azure.AI.FormRecognizer.DocumentAnalysis.DocumentSpan> -> Azure.AI.FormRecognizer.DocumentAnalysis.DocumentParagraph
Public Shared Function DocumentParagraph (Optional role As Nullable(Of ParagraphRole) = Nothing, Optional content As String = Nothing, Optional boundingRegions As IEnumerable(Of BoundingRegion) = Nothing, Optional spans As IEnumerable(Of DocumentSpan) = Nothing) As DocumentParagraph

Paramètres

role
Nullable<ParagraphRole>

Rôle sémantique du paragraphe.

content
String

Contenu concaténé du paragraphe dans l’ordre de lecture.

boundingRegions
IEnumerable<BoundingRegion>

Régions englobantes couvrant le paragraphe.

spans
IEnumerable<DocumentSpan>

Emplacement du paragraphe dans le contenu concaténé de l’ordre de lecture.

Retours

Une nouvelle DocumentParagraph instance de moqueries.

S’applique à