Interface Scaling<T extends PrintSettings>

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

public interface Scaling<T extends PrintSettings>
Allows configuring the scaling for printing.

Implemented by concrete PrintSettings implementations that support configuring the scaling type for printing.

Since:
7.20
  • Method Summary

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

    • scaling

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

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