PdfDocument.PageInfo


class PdfDocument.PageInfo


Represents information about a single page in the PDF document.

Summary

Public constructors

PageInfo(
    pageNum: Int,
    height: Int,
    width: Int,
    formWidgetInfos: List<FormWidgetInfo>
)

Public properties

List<FormWidgetInfo>

(Optional) A list of FormWidgetInfo objects representing the form widgets present on the given pageNum.

Int

The height of the page in points.

Int

The page number (0-based).

Int

The width of the page in points.

Public constructors

PageInfo

Added in 1.0.0-alpha15
PageInfo(
    pageNum: Int,
    height: Int,
    width: Int,
    formWidgetInfos: List<FormWidgetInfo> = emptyList()
)

Public properties

formWidgetInfos

Added in 1.0.0-alpha15
val formWidgetInfosList<FormWidgetInfo>

(Optional) A list of FormWidgetInfo objects representing the form widgets present on the given pageNum. This property is only populated if PdfDocument.PAGE_INFO_INCLUDE_FORM_WIDGET is set in the 'pageInfoFlags' passed to PdfDocument.getPageInfo. It will be empty if FormWidgetInfo is not requested or if there are no form widgets present on the page.

height

Added in 1.0.0-alpha15
val heightInt

The height of the page in points.

pageNum

Added in 1.0.0-alpha15
val pageNumInt

The page number (0-based).

width

Added in 1.0.0-alpha15
val widthInt

The width of the page in points.