public class PageSettings extends Object
Represents printing settings for a page of project view.
Constructor and Description |
---|
PageSettings() |
Modifier and Type | Method and Description |
---|---|
boolean |
getAdjustToPercentOfNormalSize()
Determines whether to adjust printing to the specified percentage of normal size.
|
short |
getFirstPageNumber()
Specifies a first page number for printing.
|
int |
getPagesInHeight()
Specifies a number of pages in height to be printed.
|
int |
getPagesInWidth()
Specifies a number of pages in width to be printed.
|
int |
getPaperSize()
Specifies a paper size.
|
int |
getPercentOfNormalSize()
Specifies a percentage of normal size to adjust printing to.
|
boolean |
isPortrait()
Determines whether the page orientation is portrait; returns false if the page orientation is landscape.
|
void |
setAdjustToPercentOfNormalSize(boolean value)
Determines whether to adjust printing to the specified percentage of normal size.
|
void |
setFirstPageNumber(short value)
Specifies a first page number for printing.
|
void |
setPagesInHeight(int value)
Specifies a number of pages in height to be printed.
|
void |
setPagesInWidth(int value)
Specifies a number of pages in width to be printed.
|
void |
setPaperSize(int value)
Specifies a paper size.
|
void |
setPercentOfNormalSize(int value)
Specifies a percentage of normal size to adjust printing to.
|
void |
setPortrait(boolean value)
Determines whether the page orientation is portrait; returns false if the page orientation is landscape.
|
public boolean isPortrait()
Determines whether the page orientation is portrait; returns false if the page orientation is landscape.
public void setPortrait(boolean value)
Determines whether the page orientation is portrait; returns false if the page orientation is landscape.
value
- a flag which determines whether the page orientation is portrait; returns false if the page orientation is landscape.public boolean getAdjustToPercentOfNormalSize()
Determines whether to adjust printing to the specified percentage of normal size.
public void setAdjustToPercentOfNormalSize(boolean value)
Determines whether to adjust printing to the specified percentage of normal size.
value
- a flag which specifies whether to adjust printing to the specified percentage of normal size.public int getPercentOfNormalSize()
Specifies a percentage of normal size to adjust printing to.
public void setPercentOfNormalSize(int value)
Specifies a percentage of normal size to adjust printing to.
value
- the specified percentage of normal size to adjust printing to.public int getPagesInWidth()
Specifies a number of pages in width to be printed.
public void setPagesInWidth(int value)
Specifies a number of pages in width to be printed.
value
- the specified number of pages in width to be printed.public int getPagesInHeight()
Specifies a number of pages in height to be printed.
public void setPagesInHeight(int value)
Specifies a number of pages in height to be printed.
value
- the specified number of pages in height to be printed.public int getPaperSize()
Specifies a paper size. Can be one of the values of the PrinterPaperSize
enum.
public void setPaperSize(int value)
Specifies a paper size. Can be one of the values of the PrinterPaperSize
enum.
value
- the specified paper size.public short getFirstPageNumber()
Specifies a first page number for printing.
public void setFirstPageNumber(short value)
Specifies a first page number for printing.
value
- the specified first page number for printing.Copyright (c) 2008-2015 Aspose Pty Ltd. All Rights Reserved.