com.secondmove.webpdfreports
Class PaperSize

java.lang.Object
  extended bycom.secondmove.webpdfreports.PaperSize

public class PaperSize
extends java.lang.Object

Version:
1.0a

PaperSize instances are used to set the paper size in points for the HTML2PDFConvertor

Author:
Jan Willem Luiten, Second Move vof the Netherlands

Constructor Summary
PaperSize(float width, float height)
           
 
Method Summary
 float height()
           
 float width()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PaperSize

public PaperSize(float width,
                 float height)
Parameters:
width - The width of the paper size in points.
height - The height of the paper size in point.
See Also:
HTML2PDFConvertor.setPaperSize(PaperSize), HTML2PDFConvertor.createDocument(PaperSize,int)
Method Detail

width

public float width()
Returns:
The width of the paper size in points.

height

public float height()
Returns:
The width of the paper size in points.