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-alpha13
PageInfo(
    pageNum: Int,
    height: Int,
    width: Int,
    formWidgetInfos: List<FormWidgetInfo> = emptyList()
)

Public properties

formWidgetInfos

Added in 1.0.0-alpha13
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.INCLUDE_PAGE_FORM_WIDGET_INFO 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-alpha13
val heightInt

The height of the page in points.

pageNum

Added in 1.0.0-alpha13
val pageNumInt

The page number (0-based).

width

Added in 1.0.0-alpha13
val widthInt

The width of the page in points.