PageInfo
class PageInfo
| kotlin.Any | |
| ↳ | android.graphics.pdf.PdfDocument.PageInfo |
This class represents meta-data that describes a PDF Page.
Summary
| Nested classes | |
|---|---|
|
Builder for creating a |
|
| Public methods | |
|---|---|
| Rect! |
Get the content rectangle in PostScript points (1/72th of an inch). |
| Int |
Gets the page height in PostScript points (1/72th of an inch). |
| Int |
Gets the page number. |
| Int |
Gets the page width in PostScript points (1/72th of an inch). |
Public methods
getContentRect
fun getContentRect(): Rect!
Get the content rectangle in PostScript points (1/72th of an inch). This is the area that contains the page content and is relative to the page top left.
| Return | |
|---|---|
Rect! |
The content rectangle. |
getPageHeight
fun getPageHeight(): Int
Gets the page height in PostScript points (1/72th of an inch).
| Return | |
|---|---|
Int |
The page height. |
getPageNumber
fun getPageNumber(): Int
Gets the page number.
| Return | |
|---|---|
Int |
The page number. |
getPageWidth
fun getPageWidth(): Int
Gets the page width in PostScript points (1/72th of an inch).
| Return | |
|---|---|
Int |
The page width. |