Class PageFormat

    • Constructor Detail

      • PageFormat

        public PageFormat()
      • PageFormat

        public PageFormat​(Orientation orientation,
                          Paper paper)
        Constructor.
        Parameters:
        orientation - Orientation of the paper
        paper - The paper defining this page format
    • Method Detail

      • toAwtValue

        public PageFormat toAwtValue()
        Returns:
        the AWT version of this instance
      • fromAwtValue

        public static PageFormat fromAwtValue​(PageFormat pageFormat)
        Transforms an AWT PageFormat instance to a jadice PageFormat instance.
        Parameters:
        pageFormat - the AWT PageFormat instance
        Returns:
        the jadice PageFormat instance