| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.spire.pdf.PdfPageSettings
public class PdfPageSettings
Represent class with setting of page.
| Constructor Summary | |
|---|---|
| PdfPageSettings()Initializes a new instance of the class. | |
| PdfPageSettings(java.awt.geom.Dimension2D size)Initializes a new instance of the class. | |
| PdfPageSettings(java.awt.geom.Dimension2D size,
                float margins)Initializes a new instance of the class. | |
| PdfPageSettings(java.awt.geom.Dimension2D size,
                float leftMargin,
                float topMargin,
                float rightMargin,
                float bottomMargin)Initializes a new instance of the class. | |
| PdfPageSettings(java.awt.geom.Dimension2D size,
                PdfPageOrientation pageOrientation)Initializes a new instance of the class. | |
| PdfPageSettings(java.awt.geom.Dimension2D size,
                PdfPageOrientation pageOrientation,
                float margins)Initializes a new instance of the class. | |
| PdfPageSettings(java.awt.geom.Dimension2D size,
                PdfPageOrientation pageOrientation,
                float leftMargin,
                float topMargin,
                float rightMargin,
                float bottomMargin)Initializes a new instance of the class. | |
| PdfPageSettings(float margins)Initializes a new instance of the class. | |
| PdfPageSettings(float leftMargin,
                float topMargin,
                float rightMargin,
                float bottomMargin)Initializes a new instance of the class. | |
| PdfPageSettings(PdfPageOrientation pageOrientation)Initializes a new instance of the class. | |
| Method Summary | |
|---|---|
|  float | getHeight()Gets the height of the page. | 
|  PdfMargins | getMargins()Gets the margins of the page. | 
|  PdfPageOrientation | getOrientation()Gets the page orientation. | 
|  PdfPageRotateAngle | getRotate()Gets the number of degrees by which the page should be rotated clockwise when displayed or printed. | 
|  java.awt.geom.Dimension2D | getSize()Gets the size of the page. | 
|  PdfPageTransition | getTransition()Gets the transition. | 
|  float | getWidth()Gets or sets the width of the page. | 
|  void | setHeight(float value)Sets the height of the page. | 
|  void | setMargins(float margins)Sets the margins. | 
|  void | setMargins(float leftRight,
           float topBottom)Sets the margins. | 
|  void | setMargins(float left,
           float top,
           float right,
           float bottom)Sets the margins. | 
|  void | setMargins(PdfMargins value)Sets the margins of the page. | 
|  void | setOrientation(PdfPageOrientation value)Sets the page orientation. | 
|  void | setRotate(PdfPageRotateAngle value)Sets the number of degrees by which the page should be rotated clockwise when displayed or printed. | 
|  void | setSize(java.awt.geom.Dimension2D value)Sets the size of the page. | 
|  void | setTransition(PdfPageTransition value)Sets the transition. | 
|  void | setWidth(float value) | 
| Constructor Detail | 
|---|
public PdfPageSettings()
public PdfPageSettings(java.awt.geom.Dimension2D size)
size - The size.public PdfPageSettings(PdfPageOrientation pageOrientation)
pageOrientation - The page orientation.
public PdfPageSettings(java.awt.geom.Dimension2D size,
                       PdfPageOrientation pageOrientation)
size - The size.pageOrientation - The page orientation.public PdfPageSettings(float margins)
margins - The margins.
public PdfPageSettings(float leftMargin,
                       float topMargin,
                       float rightMargin,
                       float bottomMargin)
leftMargin - The left margin.topMargin - The top margin.rightMargin - The right margin.bottomMargin - The bottom margin.
public PdfPageSettings(java.awt.geom.Dimension2D size,
                       float margins)
size - The size.margins - The margins.
public PdfPageSettings(java.awt.geom.Dimension2D size,
                       float leftMargin,
                       float topMargin,
                       float rightMargin,
                       float bottomMargin)
size - The size.leftMargin - The left margin.topMargin - The top margin.rightMargin - The right margin.bottomMargin - The bottom margin.
public PdfPageSettings(java.awt.geom.Dimension2D size,
                       PdfPageOrientation pageOrientation,
                       float margins)
size - The size.pageOrientation - The page orientation.margins - The margins.
public PdfPageSettings(java.awt.geom.Dimension2D size,
                       PdfPageOrientation pageOrientation,
                       float leftMargin,
                       float topMargin,
                       float rightMargin,
                       float bottomMargin)
size - The size.pageOrientation - The page orientation.leftMargin - The left margin.topMargin - The top margin.rightMargin - The right margin.bottomMargin - The bottom margin.| Method Detail | 
|---|
public PdfPageOrientation getOrientation()
public void setOrientation(PdfPageOrientation value)
public java.awt.geom.Dimension2D getSize()
public void setSize(java.awt.geom.Dimension2D value)
public float getWidth()
public void setWidth(float value)
public float getHeight()
public void setHeight(float value)
value - public PdfMargins getMargins()
public void setMargins(PdfMargins value)
public PdfPageRotateAngle getRotate()
public void setRotate(PdfPageRotateAngle value)
public PdfPageTransition getTransition()
public void setTransition(PdfPageTransition value)
public void setMargins(float margins)
margins - The margins.
public void setMargins(float leftRight,
                       float topBottom)
leftRight - The left right.topBottom - The top bottom.
public void setMargins(float left,
                       float top,
                       float right,
                       float bottom)
left - The left.top - The top.right - The right.bottom - The bottom.| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||