print

open fun print(@NonNull context: Context, @NonNull document: PdfDocument)

Print specified document.

Parameters

context

The context to use.

document

Document for printing.


open fun print(@NonNull context: Context, @NonNull document: PdfDocument, @NonNull printOptions: PrintOptions)

Print specified document using provided sharing options.

Parameters

context

The context to use.

document

Document for printing.

printOptions

Options for processing document before printing.


open fun print(@NonNull context: Context, @NonNull document: PdfDocument, @NonNull processorTask: PdfProcessorTask)

Print specified document using provided sharing options.

Parameters

context

The context to use.

document

Document for printing.

processorTask

Processing task for processing document before printing.