pdfpagesettings-ag凯发旗舰厅



com.spire.pdf
class pdfpagesettings

java.lang.object
  extended by com.spire.pdf.pdfpagesettings

public class pdfpagesettings
extends java.lang.object

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

pdfpagesettings

public pdfpagesettings()
initializes a new instance of the class.

pdfpagesettings

public pdfpagesettings(java.awt.geom.dimension2d size)
initializes a new instance of the class.
parameters:
size - the size.

pdfpagesettings

public pdfpagesettings(pdfpageorientation pageorientation)
initializes a new instance of the class.
parameters:
pageorientation - the page orientation.

pdfpagesettings

public pdfpagesettings(java.awt.geom.dimension2d size,
                       pdfpageorientation pageorientation)
initializes a new instance of the class.
parameters:
size - the size.
pageorientation - the page orientation.

pdfpagesettings

public pdfpagesettings(float margins)
initializes a new instance of the class.
parameters:
margins - the margins.

pdfpagesettings

public pdfpagesettings(float leftmargin,
                       float topmargin,
                       float rightmargin,
                       float bottommargin)
initializes a new instance of the class.
parameters:
leftmargin - the left margin.
topmargin - the top margin.
rightmargin - the right margin.
bottommargin - the bottom margin.

pdfpagesettings

public pdfpagesettings(java.awt.geom.dimension2d size,
                       float margins)
initializes a new instance of the class.
parameters:
size - the size.
margins - the margins.

pdfpagesettings

public pdfpagesettings(java.awt.geom.dimension2d size,
                       float leftmargin,
                       float topmargin,
                       float rightmargin,
                       float bottommargin)
initializes a new instance of the class.
parameters:
size - the size.
leftmargin - the left margin.
topmargin - the top margin.
rightmargin - the right margin.
bottommargin - the bottom margin.

pdfpagesettings

public pdfpagesettings(java.awt.geom.dimension2d size,
                       pdfpageorientation pageorientation,
                       float margins)
initializes a new instance of the class.
parameters:
size - the size.
pageorientation - the page orientation.
margins - the margins.

pdfpagesettings

public pdfpagesettings(java.awt.geom.dimension2d size,
                       pdfpageorientation pageorientation,
                       float leftmargin,
                       float topmargin,
                       float rightmargin,
                       float bottommargin)
initializes a new instance of the class.
parameters:
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

getorientation

public pdfpageorientation getorientation()
gets the page orientation.

setorientation

public void setorientation(pdfpageorientation value)
sets the page orientation.

getsize

public java.awt.geom.dimension2d getsize()
gets the size of the page.

setsize

public void setsize(java.awt.geom.dimension2d value)
sets the size of the page.

getwidth

public float getwidth()
gets or sets the width of the page.

setwidth

public void setwidth(float value)

getheight

public float getheight()
gets the height of the page.

setheight

public void setheight(float value)
sets the height of the page.
parameters:
value -

getmargins

public pdfmargins getmargins()
gets the margins of the page.

setmargins

public void setmargins(pdfmargins value)
sets the margins of the page.

getrotate

public pdfpagerotateangle getrotate()
gets the number of degrees by which the page should be rotated clockwise when displayed or printed.

setrotate

public void setrotate(pdfpagerotateangle value)
sets the number of degrees by which the page should be rotated clockwise when displayed or printed.

gettransition

public pdfpagetransition gettransition()
gets the transition.

settransition

public void settransition(pdfpagetransition value)
sets the transition.

setmargins

public void setmargins(float margins)
sets the margins.
parameters:
margins - the margins.

setmargins

public void setmargins(float leftright,
                       float topbottom)
sets the margins.
parameters:
leftright - the left right.
topbottom - the top bottom.

setmargins

public void setmargins(float left,
                       float top,
                       float right,
                       float bottom)
sets the margins.
parameters:
left - the left.
top - the top.
right - the right.
bottom - the bottom.


网站地图