public class DocumentPage
extends java.lang.Object
Constructor and Description |
---|
DocumentPage() |
Modifier and Type | Method and Description |
---|---|
double |
getFooter() |
double |
getHeader() |
double |
getMarginBottom()
Get margin bottom
|
double |
getMarginLeft()
Get margin left
|
double |
getMarginRight()
Get margin right
|
double |
getMarginTop()
Get margin top
|
double |
getPageHeight()
Get page height
|
double |
getPageWidth()
Get page width
|
double |
getRealPageHeight() |
double |
getRealPageWidth() |
void |
setFooter(double footer) |
void |
setHeader(double header) |
void |
setMarginBottom(double marginBottom)
Set margin bottom
|
void |
setMarginLeft(double marginLeft)
Set margin left
|
void |
setMarginRight(double marginRight)
Set margin right
|
void |
setMarginTop(double marginTop)
Set margin top
|
void |
setPageHeight(double pageHeight)
Set page height
|
void |
setPageWidth(double pageWidth)
Set page width
|
void |
setRealPageHeight(double realPageHeight) |
void |
setRealPageWidth(double realPageWidth) |
public double getRealPageWidth()
public void setRealPageWidth(double realPageWidth)
public double getRealPageHeight()
public void setRealPageHeight(double realPageHeight)
public double getPageWidth()
public void setPageWidth(double pageWidth)
pageWidth
- page widthpublic double getPageHeight()
public void setPageHeight(double pageHeight)
pageHeight
- page heightpublic double getMarginTop()
public void setMarginTop(double marginTop)
marginTop
- margin toppublic double getMarginBottom()
public void setMarginBottom(double marginBottom)
marginBottom
- margin bottompublic double getMarginLeft()
public void setMarginLeft(double marginLeft)
marginLeft
- margin leftpublic double getMarginRight()
public void setMarginRight(double marginRight)
marginRight
- margin rightpublic double getHeader()
public void setHeader(double header)
public double getFooter()
public void setFooter(double footer)
Copyright © 2010 - No Magic Asia