Interface Orientation<T extends PrintSettings>
- Type Parameters:
T
- the concrete print settings type
- All Known Subinterfaces:
PdfPrinter.HtmlSettings
,SystemPrinter.HtmlSettings
public interface Orientation<T extends PrintSettings>
Allows configuring the page orientation.
Implemented by concrete PrintSettings
implementations that support configuring the
page orientation.
- Since:
- 7.13
-
Method Summary
Modifier and TypeMethodDescriptionReturns the page orientation.orientation
(Orientation orientation) Configures the page orientation.
-
Method Details
-
orientation
Configures the page orientation.- Parameters:
orientation
- the page orientation- Returns:
- this instance
- Throws:
ObjectClosedException
- if the current printing operation has been completed
-
orientation
Orientation orientation()Returns the page orientation.- Throws:
ObjectClosedException
- if the current printing operation has been completed
-