DocumentParagraph Class
- java.
lang. Object - com.
azure. ai. formrecognizer. documentanalysis. models. DocumentParagraph
- com.
public final class DocumentParagraph
A paragraph object consisting with contiguous lines generally with common alignment and spacing.
Constructor Summary
Constructor | Description |
---|---|
DocumentParagraph() |
Creates a Document |
Method Summary
Modifier and Type | Method and Description |
---|---|
List<Bounding |
getBoundingRegions()
Get the bounding |
String |
getContent()
Get the content property: Concatenated content of the paragraph in reading order. |
Paragraph |
getRole()
Get the role property: Semantic role of the paragraph. |
List<Document |
getSpans()
Get the spans property: Location of the paragraph in the reading order concatenated content. |
Methods inherited from java.lang.Object
Constructor Details
DocumentParagraph
public DocumentParagraph()
Creates a DocumentParagraph object.
Method Details
getBoundingRegions
public List
Get the boundingRegions property: Bounding regions covering the paragraph.
Returns:
getContent
public String getContent()
Get the content property: Concatenated content of the paragraph in reading order.
Returns:
getRole
public ParagraphRole getRole()
Get the role property: Semantic role of the paragraph.
Returns:
getSpans
public List
Get the spans property: Location of the paragraph in the reading order concatenated content.
Returns: