Interface PageMargins<T extends PrintSettings>

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

public interface PageMargins<T extends PrintSettings>
Allows configuring the page margins.

Implemented by concrete PrintSettings implementations that support configuring the page margins.

Since:
7.13
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the page margins.
    pageMargins(PageMargins pageMargins)
    Configures the page margins for printing.
  • Method Details

    • pageMargins

      T pageMargins(PageMargins pageMargins)
      Configures the page margins for printing.
      Parameters:
      pageMargins - the page margins
      Returns:
      this instance
      Throws:
      ObjectClosedException - if the current printing operation has been completed
    • pageMargins

      PageMargins pageMargins()
      Returns the page margins.
      Throws:
      ObjectClosedException - if the current printing operation has been completed