Interface PrintSelectionOnly<T extends PrintSettings>

Type Parameters:
T - the concrete print settings type
All Known Subinterfaces:
PdfPrinter.HtmlSettings, SystemPrinter.HtmlSettings

public interface PrintSelectionOnly<T extends PrintSettings>
Allows configuring printing only the selected content.

Implemented by concrete PrintSettings implementations that support configuring printing only the selected content.

Since:
7.13
  • Method Details

    • enablePrintingSelectionOnly

      T enablePrintingSelectionOnly()
      Enables printing only the selected content.
      Returns:
      this instance
      Throws:
      ObjectClosedException - if the current printing operation has been completed
    • disablePrintingSelectionOnly

      T disablePrintingSelectionOnly()
      Disables printing only the selected content.
      Returns:
      this instance
      Throws:
      ObjectClosedException - if the current printing operation has been completed
    • isPrintingSelectionOnlyEnabled

      boolean isPrintingSelectionOnlyEnabled()
      Returns true if printing only the selected content is enabled.
      Throws:
      ObjectClosedException - if the current printing operation has been completed