public final class FormPage extends Object
Constructor and Description |
---|
FormPage(float height,
float textAngle,
LengthUnit unit,
float width,
List<FormLine> lines,
List<FormTable> tables,
int pageNumber)
Constructs a FormPage object.
|
Modifier and Type | Method and Description |
---|---|
float |
getHeight()
Get the height property: The height of the image/PDF in pixels/inches,
respectively.
|
List<FormLine> |
getLines()
Get the lines property: When includeFieldElements is set to true, a list
of recognized text lines.
|
Integer |
getPageNumber()
Get the 1-based page number in the input document.
|
List<FormSelectionMark> |
getSelectionMarks()
Get the selection marks in the input document.
|
List<FormTable> |
getTables()
Get the tables property: List of data tables extracted from the page.
|
float |
getTextAngle()
Get the text angle property.
|
LengthUnit |
getUnit()
Get the unit property: The unit used by the width, height and
boundingBox properties.
|
float |
getWidth()
Get the width property: The width of the image/PDF in pixels/inches,
respectively.
|
public FormPage(float height, float textAngle, LengthUnit unit, float width, List<FormLine> lines, List<FormTable> tables, int pageNumber)
height
- The height of the image/PDF in pixels/inches, respectively.textAngle
- The general orientation of the text in clockwise direction.unit
- The unit used by the width, height and boundingBox properties.width
- The width of the image/PDF in pixels/inches, respectively.lines
- When includeFieldElements is set to true, a list of recognized text lines.tables
- List of data tables extracted from the page.pageNumber
- the 1-based page number in the input document.public float getHeight()
public List<FormLine> getLines()
public List<FormTable> getTables()
public float getTextAngle()
public LengthUnit getUnit()
public float getWidth()
public Integer getPageNumber()
public List<FormSelectionMark> getSelectionMarks()
Copyright © 2021. All rights reserved.