public class PageFormat extends Object implements Serializable
This class is a serializable
version of PageFormat
.
Use fromAwtValue(java.awt.print.PageFormat)
and toAwtValue()
to transform from
AWT class object to jadice class objects and vice versa.
PageFormat
,
Serialized FormConstructor and Description |
---|
PageFormat() |
PageFormat(Orientation orientation,
Paper paper)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
static PageFormat |
fromAwtValue(PageFormat pageFormat)
Transforms an AWT
PageFormat instance to a jadice PageFormat instance. |
PageFormat |
toAwtValue() |
public PageFormat()
public PageFormat(Orientation orientation, Paper paper)
orientation
- Orientation of the paperpaper
- The paper defining this page formatpublic PageFormat toAwtValue()
public static PageFormat fromAwtValue(PageFormat pageFormat)
PageFormat
instance to a jadice PageFormat instance.pageFormat
- the AWT PageFormat
instanceCopyright © 2017 levigo holding gmbh. All rights reserved.