| com.pspdfkit.api.PdfPage |
Represents an instance of a page from a PDF Document. See getPage(int) to retrieve a page from a
document.
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| abstract PdfPageInfo |
getPageInfo()
Retrieve information about the page.
| ||||||||||
| abstract List<TextBlock> |
getTextLines()
Retrieves all the text on the page split into a list of
TextBlock representing each line
of text and its coordinates. | ||||||||||
| abstract BufferedImage |
renderPage(int width, int height)
Render a page to a bitmap at the size of the page request.
| ||||||||||
| abstract BufferedImage |
renderPage()
Render a page to a bitmap with the dimensions found in
getBoundingBox() | ||||||||||
Retrieve information about the page.
PdfPageInfo representing the page requested.
Retrieves all the text on the page split into a list of TextBlock representing each line
of text and its coordinates.
Text lines end with CRLF (`\r\n`).
TextBlock representing the lines of text and their coordinates on the page.
Returns an empty list if there is no readable text on the page.
Render a page to a bitmap at the size of the page request.
| width | Width of the rendered image. |
|---|---|
| height | Height of the rendered image. |
Render a page to a bitmap with the dimensions found in getBoundingBox()