Class PageSetup
java.lang.Object
com.independentsoft.office.charts.PageSetup
The Class PageSetup.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()intGets the copies.intGets the first page number.intGets the horizontal dpi.Gets the orientation.Gets the paper size.intGets the vertical dpi.booleanChecks if is black and white.booleanisDraft()Checks if is draft.booleanChecks if is use first page number.voidsetBlackAndWhite(boolean blackAndWhite)Sets the black and white.voidsetCopies(int copies)Sets the copies.voidsetDraft(boolean draft)Sets the draft.voidsetFirstPageNumber(int firstPageNumber)Sets the first page number.voidsetHorizontalDpi(int horizontalDpi)Sets the horizontal dpi.voidsetOrientation(PrintedPageOrientation orientation)Sets the orientation.voidsetPaperSize(PaperSize paperSize)Sets the paper size.voidsetUseFirstPageNumber(boolean useFirstPageNumber)Sets the use first page number.voidsetVerticalDpi(int verticalDpi)Sets the vertical dpi.toString()
-
Constructor Details
-
PageSetup
public PageSetup()Instantiates a new page setup.
-
-
Method Details
-
clone
-
toString
-
isBlackAndWhite
public boolean isBlackAndWhite()Checks if is black and white.- Returns:
- true, if is black and white
-
setBlackAndWhite
public void setBlackAndWhite(boolean blackAndWhite)Sets the black and white.- Parameters:
blackAndWhite- the new black and white
-
getCopies
public int getCopies()Gets the copies.- Returns:
- the copies
-
setCopies
public void setCopies(int copies)Sets the copies.- Parameters:
copies- the new copies
-
isDraft
public boolean isDraft()Checks if is draft.- Returns:
- true, if is draft
-
setDraft
public void setDraft(boolean draft)Sets the draft.- Parameters:
draft- the new draft
-
getFirstPageNumber
public int getFirstPageNumber()Gets the first page number.- Returns:
- the first page number
-
setFirstPageNumber
public void setFirstPageNumber(int firstPageNumber)Sets the first page number.- Parameters:
firstPageNumber- the new first page number
-
getHorizontalDpi
public int getHorizontalDpi()Gets the horizontal dpi.- Returns:
- the horizontal dpi
-
setHorizontalDpi
public void setHorizontalDpi(int horizontalDpi)Sets the horizontal dpi.- Parameters:
horizontalDpi- the new horizontal dpi
-
getOrientation
Gets the orientation.- Returns:
- the orientation
-
setOrientation
Sets the orientation.- Parameters:
orientation- the new orientation
-
getPaperSize
Gets the paper size.- Returns:
- the paper size
-
setPaperSize
Sets the paper size.- Parameters:
paperSize- the new paper size
-
isUseFirstPageNumber
public boolean isUseFirstPageNumber()Checks if is use first page number.- Returns:
- true, if is use first page number
-
setUseFirstPageNumber
public void setUseFirstPageNumber(boolean useFirstPageNumber)Sets the use first page number.- Parameters:
useFirstPageNumber- the new use first page number
-
getVerticalDpi
public int getVerticalDpi()Gets the vertical dpi.- Returns:
- the vertical dpi
-
setVerticalDpi
public void setVerticalDpi(int verticalDpi)Sets the vertical dpi.- Parameters:
verticalDpi- the new vertical dpi
-