public interface

PrintOptionsProvider

com.pspdfkit.document.printing.PrintOptionsProvider

Class Overview

Allows you to provide default print options when the user hits the share button in the toolbar.

Summary

Public Methods
abstract PrintOptions createPrintOptions(PdfDocument document, int currentPage)
Creates the PrintOptions.

Public Methods

public abstract PrintOptions createPrintOptions (PdfDocument document, int currentPage)

Creates the PrintOptions. Internal usage only.

Parameters
document The document that is being shared.
currentPage The page the user is currently on.
Returns
  • The print options you wish to use for the print operation, or null to display the default print options dialog.