PageSelection


class PageSelection


Represents the list of selected content on a particular page of the PDF document. By default, the selection boundary is represented from left to right.

Summary

Public constructors

PageSelection(
    page: Int,
    start: SelectionBoundary,
    stop: SelectionBoundary,
    selectedContents: List<PdfPageContent>
)

Public properties

Int

: The page number of the selection.

List<PdfPageContent>

: list of segments of selected content.

SelectionBoundary

: Boundary where the selection starts.

SelectionBoundary

: Boundary where the selection stops.

Public constructors

PageSelection

PageSelection(
    page: Int,
    start: SelectionBoundary,
    stop: SelectionBoundary,
    selectedContents: List<PdfPageContent>
)
Parameters
page: Int

: The page number of the selection.

start: SelectionBoundary

: Boundary where the selection starts.

stop: SelectionBoundary

: Boundary where the selection stops.

selectedContents: List<PdfPageContent>

: list of segments of selected content.

Public properties

page

Added in 1.0.0-alpha11
val pageInt

: The page number of the selection.

selectedContents

Added in 1.0.0-alpha11
val selectedContentsList<PdfPageContent>

: list of segments of selected content.

start

Added in 1.0.0-alpha11
val startSelectionBoundary

: Boundary where the selection starts.

stop

Added in 1.0.0-alpha11
val stopSelectionBoundary

: Boundary where the selection stops.