Class DocumentPage
java.lang.Object
com.azure.ai.formrecognizer.documentanalysis.models.DocumentPage
Content and layout elements extracted from a page from the input.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetAngle()
Get the general orientation of the content in clockwise direction, measured in degrees between (-180, 180].Get the extracted barcodes from the page.Get the extracted formulas from the page.Get the height of the image/PDF in pixels/inches, respectively.getLines()
Get the extracted lines from the page, potentially containing both textual and visual elements.int
Get the 1-based page number in the input document.Get the extracted selection marks from the page.getSpans()
Get the location of the page in the reading order concatenated content.getUnit()
Get the unit used by the width, height, and boundingBox properties.getWidth()
Get the width of the image/PDF in pixels/inches, respectively.getWords()
Get the extracted words from the page.
-
Constructor Details
-
DocumentPage
public DocumentPage()
-
-
Method Details
-
getPageNumber
public int getPageNumber()Get the 1-based page number in the input document.- Returns:
- the pageNumber value.
-
getAngle
Get the general orientation of the content in clockwise direction, measured in degrees between (-180, 180].- Returns:
- the angle value.
-
getWidth
Get the width of the image/PDF in pixels/inches, respectively.- Returns:
- the width value.
-
getHeight
Get the height of the image/PDF in pixels/inches, respectively.- Returns:
- the height value.
-
getUnit
Get the unit used by the width, height, and boundingBox properties. For images, the unit is "pixel". For PDF, the unit is "inch".- Returns:
- the unit value.
-
getSpans
Get the location of the page in the reading order concatenated content.- Returns:
- the spans value.
-
getWords
Get the extracted words from the page.- Returns:
- the words value.
-
getSelectionMarks
Get the extracted selection marks from the page.- Returns:
- the selectionMarks value.
-
getLines
Get the extracted lines from the page, potentially containing both textual and visual elements.- Returns:
- the lines value.
-
getBarcodes
Get the extracted barcodes from the page.- Returns:
- the barcodes value.
-
getFormulas
Get the extracted formulas from the page.- Returns:
- the formulas value.
-