public interface PageFormat
Modifier and Type | Interface and Description |
---|---|
static class |
PageFormat.Type
Defines page format types
|
Modifier and Type | Method and Description |
---|---|
RollPaperFormat |
asRollPaperFormat()
Returns this PageFormat as a RollPaperFormat
|
SheetPaperFormat |
asSheetPaperFormat()
Returns this PageFormat as a SheetPaperFormat
|
TractorPaperFormat |
asTractorPaperFormat()
Returns this PageFormat as a TractorPaperFormat
|
PageFormat.Type |
getPageFormatType()
Gets the paper in this paper format
|
PageFormat.Type getPageFormatType()
SheetPaperFormat asSheetPaperFormat()
ClassCastException
- if the instance is not SheetPaperFormatTractorPaperFormat asTractorPaperFormat()
ClassCastException
- if the instance is not TractorPaperFormatRollPaperFormat asRollPaperFormat()
ClassCastException
- if the instance is not RollPaperFormat