Class PageMargins
java.lang.Object
com.independentsoft.office.spreadsheet.PageMargins
The Class PageMargins.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()doubleGets the bottom.doubleGets the footer.doubleGets the header.doublegetLeft()Gets the left.doublegetRight()Gets the right.doublegetTop()Gets the top.voidsetBottom(double bottom)Sets the bottom.voidsetFooter(double footer)Sets the footer.voidsetHeader(double header)Sets the header.voidsetLeft(double left)Sets the left.voidsetRight(double right)Sets the right.voidsetTop(double top)Sets the top.toString()
-
Constructor Details
-
PageMargins
public PageMargins()Instantiates a new page margins.
-
-
Method Details
-
clone
-
toString
-
getBottom
public double getBottom()Gets the bottom.- Returns:
- the bottom
-
setBottom
public void setBottom(double bottom)Sets the bottom.- Parameters:
bottom- the new bottom
-
getHeader
public double getHeader()Gets the header.- Returns:
- the header
-
setHeader
public void setHeader(double header)Sets the header.- Parameters:
header- the new header
-
getLeft
public double getLeft()Gets the left.- Returns:
- the left
-
setLeft
public void setLeft(double left)Sets the left.- Parameters:
left- the new left
-
getRight
public double getRight()Gets the right.- Returns:
- the right
-
setRight
public void setRight(double right)Sets the right.- Parameters:
right- the new right
-
getTop
public double getTop()Gets the top.- Returns:
- the top
-
setTop
public void setTop(double top)Sets the top.- Parameters:
top- the new top
-