DocumentParagraph Class

  • java.lang.Object
    • com.azure.ai.formrecognizer.documentanalysis.models.DocumentParagraph

public final class DocumentParagraph

A paragraph object consisting with contiguous lines generally with common alignment and spacing.

Constructor Summary

Constructor Description
DocumentParagraph()

Creates a DocumentParagraph object.

Method Summary

Modifier and Type Method and Description
List<BoundingRegion> getBoundingRegions()

Get the boundingRegions property: Bounding regions covering the paragraph.

String getContent()

Get the content property: Concatenated content of the paragraph in reading order.

ParagraphRole getRole()

Get the role property: Semantic role of the paragraph.

List<DocumentSpan> 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 getBoundingRegions()

Get the boundingRegions property: Bounding regions covering the paragraph.

Returns:

the boundingRegions value.

getContent

public String getContent()

Get the content property: Concatenated content of the paragraph in reading order.

Returns:

the content value.

getRole

public ParagraphRole getRole()

Get the role property: Semantic role of the paragraph.

Returns:

the role value.

getSpans

public List getSpans()

Get the spans property: Location of the paragraph in the reading order concatenated content.

Returns:

the spans value.

Applies to