|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.aspose.pdf.elements.PageSetup
public class PageSetup
Encapsulates info for page setup.
Constructor Summary | |
---|---|
PageSetup()
Initializes a new instance of the PageSetup class. |
Method Summary | |
---|---|
java.lang.Object |
clone()
Gets a clone of PageSetup. |
RectData |
getArtBox()
Gets a RectData object that indicates the art box of the page. |
RectData |
getBleedBox()
Gets a RectData object that indicates the bleed box of the page. |
RectData |
getCropBox()
Gets a RectData object that indicates the crop box of the page. |
MarginInfo |
getMargin()
Gets a MarginInfo object that indicates the page margin info. |
BorderInfo |
getPageBorder()
Gets a PageBorder object that indicates the page border. |
MarginInfo |
getPageBorderMargin()
Gets a MarginInfo object that indicates the margin between the page border and the page edge. |
float |
getPageHeight()
Gets the height of page. |
float |
getPageWidth()
Gets the width of page. |
RectData |
getTrimBox()
Gets a RectData object that indicates the trim box of the page. |
PageSetup |
setArtBox(RectData artBox)
Sets a RectData object that indicates the art box of the page. |
PageSetup |
setBleedBox(RectData bleedBox)
Sets a RectData object that indicates the bleed box of the page. |
PageSetup |
setCropBox(RectData cropBox)
Sets a RectData object that indicates the crop box of the page. |
PageSetup |
setMargin(MarginInfo margin)
Sets a MarginInfo object that indicates the page margin info. |
PageSetup |
setPageBorder(BorderInfo border)
Sets a PageBorder object that indicates the page border. |
PageSetup |
setPageBorderMargin(MarginInfo borderMargin)
Sets a MarginInfo object that indicates the margin between the page border and the page edge. |
PageSetup |
setPageHeight(float pageHeight)
Sets the height of page, unit is pt. |
PageSetup |
setPageWidth(float pageWidth)
Sets the width of page, unit is pt. |
PageSetup |
setTrimBox(RectData trimBox)
Sets a RectData object that indicates the trim box of the page. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PageSetup()
Method Detail |
---|
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in class java.lang.Object
java.lang.CloneNotSupportedException
- throw when Cloneable interface not implemented
AsposeBaseException
Object.clone()
public PageSetup setPageHeight(float pageHeight)
pageHeight
- float, page height in ptpublic float getPageHeight()
public PageSetup setPageWidth(float pageWidth)
pageWidth
- float, page width in ptpublic float getPageWidth()
public PageSetup setMargin(MarginInfo margin)
margin
- MarginInfopublic MarginInfo getMargin()
public RectData getArtBox()
public PageSetup setArtBox(RectData artBox)
artBox
- The ArtBox to set.public RectData getBleedBox()
public PageSetup setBleedBox(RectData bleedBox)
bleedBox
- The BleedBox to set.public RectData getCropBox()
public PageSetup setCropBox(RectData cropBox)
cropBox
- The CropBox to set.public BorderInfo getPageBorder()
public PageSetup setPageBorder(BorderInfo border)
border
- The PageBorder to set.public MarginInfo getPageBorderMargin()
public PageSetup setPageBorderMargin(MarginInfo borderMargin)
borderMargin
- The PageBorderMargin to set.public RectData getTrimBox()
public PageSetup setTrimBox(RectData trimBox)
trimBox
- The TrimBox to set.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |