mergePage

open fun mergePage(@NonNull pagePdf: PagePdf, destinationPageIndex: Int): PdfProcessorTask

Merges a page with a page of the task's document.

Return

Processor task describing the page processing progress.

Parameters

pagePdf

PDF page to be merged.

destinationPageIndex

Index of the destination document's page the source page should be merged into.


open fun mergePage(@NonNull pagePdf: PagePdf, destinationPageIndex: Int, @NonNull blendMode: BlendMode): PdfProcessorTask

Merges a page with a page of the task's document by using specified BlendMode.

Note: This call requires document comparison feature in your license.

Return

Processor task describing the page processing progress.

Parameters

pagePdf

PDF page to be merged. This call does not support PagePosition property of the PagePdf.

destinationPageIndex

Index of the destination document's page the source page should be merged into.

blendMode

Defines how the two pages should be blended into each other.