Interface PrintBackgrounds<T extends PrintSettings>
- Type Parameters:
T
- the concrete print settings type
- All Known Subinterfaces:
PdfPrinter.HtmlSettings
,SystemPrinter.HtmlSettings
public interface PrintBackgrounds<T extends PrintSettings>
Allows configuring printing background graphics.
Implemented by concrete PrintSettings
implementations that support configuring
printing background graphics.
- Since:
- 7.13
-
Method Summary
Modifier and TypeMethodDescriptionDisables printing background graphics.Enables printing background graphics.boolean
Returnstrue
if printing background graphics is enabled.
-
Method Details
-
enablePrintingBackgrounds
T enablePrintingBackgrounds()Enables printing background graphics.- Returns:
- this instance
- Throws:
ObjectClosedException
- if the current printing operation has been completed
-
disablePrintingBackgrounds
T disablePrintingBackgrounds()Disables printing background graphics.- Returns:
- this instance
- Throws:
ObjectClosedException
- if the current printing operation has been completed
-
isPrintingBackgroundsEnabled
boolean isPrintingBackgroundsEnabled()Returnstrue
if printing background graphics is enabled.- Throws:
ObjectClosedException
- if the current printing operation has been completed
-