fromPage

open fun fromPage(@NonNull sourceDocument: PdfDocument, pageIndex: Int): NewPage.Builder

Copies page from a source document.

Parameters

sourceDocument

Document to copy page from.

pageIndex

Index of page in the source document.