Interface Fit<T extends PrintSettings>

Type Parameters:
T - the concrete print settings type
All Known Subinterfaces:
SystemPrinter.PdfSettings

public interface Fit<T extends PrintSettings>
Allows configuring the fit of the printable content into the page.

Implemented by concrete PrintSettings implementations that support configuring the fit of the printable content onto the page.

Since:
7.39
  • Method Summary

    Modifier and Type
    Method
    Description
    fit()
    Returns the fit used by the printer.
    fit(Fit fit)
    Configures the fit for printing.
  • Method Details

    • fit

      T fit(Fit fit)
      Configures the fit for printing.
      Parameters:
      fit - the fit type to use
      Returns:
      this instance
      Throws:
      ObjectClosedException - if the current printing operation has been completed
    • fit

      Fit fit()
      Returns the fit used by the printer.
      Throws:
      ObjectClosedException - if the current printing operation has been completed