public class SimplePrintPageFormat extends Object implements PrintPageFormat, Serializable
| Constructor and Description |
|---|
SimplePrintPageFormat() |
| Modifier and Type | Method and Description |
|---|---|
Integer |
getBottomMargin() |
Integer |
getLeftMargin() |
OrientationEnum |
getOrientation()
Returns the page orientation.
|
Integer |
getPageHeight() |
Integer |
getPageWidth() |
Integer |
getRightMargin() |
Integer |
getTopMargin() |
void |
setBottomMargin(Integer bottomMargin) |
void |
setLeftMargin(Integer leftMargin) |
void |
setOrientation(OrientationEnum orientation) |
void |
setPageHeight(Integer pageHeight) |
void |
setPageWidth(Integer pageWidth) |
void |
setRightMargin(Integer rightMargin) |
void |
setTopMargin(Integer topMargin) |
public Integer getPageWidth()
getPageWidth in interface PrintPageFormatpublic void setPageWidth(Integer pageWidth)
public Integer getPageHeight()
getPageHeight in interface PrintPageFormatpublic void setPageHeight(Integer pageHeight)
public Integer getTopMargin()
getTopMargin in interface PrintPageFormatpublic void setTopMargin(Integer topMargin)
public Integer getLeftMargin()
getLeftMargin in interface PrintPageFormatpublic void setLeftMargin(Integer leftMargin)
public Integer getBottomMargin()
getBottomMargin in interface PrintPageFormatpublic void setBottomMargin(Integer bottomMargin)
public Integer getRightMargin()
getRightMargin in interface PrintPageFormatpublic void setRightMargin(Integer rightMargin)
public OrientationEnum getOrientation()
getOrientation in interface PrintPageFormatpublic void setOrientation(OrientationEnum orientation)
Copyright © 2017. All rights reserved.