DocumentIntelligenceModelFactory.DocumentParagraph 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 DocumentParagraph.
public static Azure.AI.DocumentIntelligence.DocumentParagraph DocumentParagraph (Azure.AI.DocumentIntelligence.ParagraphRole? role = default, string content = default, System.Collections.Generic.IEnumerable<Azure.AI.DocumentIntelligence.BoundingRegion> boundingRegions = default, System.Collections.Generic.IEnumerable<Azure.AI.DocumentIntelligence.DocumentSpan> spans = default);
static member DocumentParagraph : Nullable<Azure.AI.DocumentIntelligence.ParagraphRole> * string * seq<Azure.AI.DocumentIntelligence.BoundingRegion> * seq<Azure.AI.DocumentIntelligence.DocumentSpan> -> Azure.AI.DocumentIntelligence.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
Parameters
- role
- Nullable<ParagraphRole>
Semantic role of the paragraph.
- content
- String
Concatenated content of the paragraph in reading order.
- boundingRegions
- IEnumerable<BoundingRegion>
Bounding regions covering the paragraph.
- spans
- IEnumerable<DocumentSpan>
Location of the paragraph in the reading order concatenated content.
Returns
A new DocumentParagraph instance for mocking.
Applies to
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
Azure SDK for .NET