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.
print Options
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.
processor Task
Processing task for processing document before printing.