com.spire.doc.printing
Class PaperSize

java.lang.Object
  extended by com.spire.ms.Printing.PaperSize
      extended by com.spire.doc.printing.PaperSize

public class PaperSize
extends com.spire.ms.Printing.PaperSize

Specifies the size of a piece of paper.


Constructor Summary
PaperSize()
          Initializes a new instance of the PaperSize class.
PaperSize(java.lang.String name, int width, int height)
          Initializes a new instance of the PaperSize class.
 
Method Summary
 void setHeight(int value)
          Sets the height of the paper.
 void setWidth(int value)
          Sets the width of the paper.
 

Constructor Detail

PaperSize

public PaperSize()
Initializes a new instance of the PaperSize class.


PaperSize

public PaperSize(java.lang.String name,
                 int width,
                 int height)
Initializes a new instance of the PaperSize class.

Method Detail

setWidth

public void setWidth(int value)
Sets the width of the paper.

Overrides:
setWidth in class com.spire.ms.Printing.PaperSize

setHeight

public void setHeight(int value)
Sets the height of the paper.

Overrides:
setHeight in class com.spire.ms.Printing.PaperSize