pdfgrid-ag凯发旗舰厅



com.spire.pdf.grid
class pdfgrid

java.lang.object
  extended by com.spire.pdf.graphics.pdfgraphicswidget
      extended by com.spire.pdf.graphics.pdflayoutwidget
          extended by com.spire.pdf.grid.pdfgrid

public class pdfgrid
extends pdflayoutwidget

represents the pdf grid class for all elements that can be layout on the pages.


field summary
 
fields inherited from class com.spire.pdf.graphics.pdflayoutwidget
beginpagelayout
 
constructor summary
pdfgrid()
          initializes a new instance of the class.
 
method summary
  draw(pdfnewpage page, float x, float y)
          draws the specified page.
  draw(pdfnewpage page, java.awt.geom.point2d location)
          draws the specified page.
  draw(pdfnewpage page, java.awt.geom.point2d location, pdfgridlayoutformat format)
          draws the specified page.
  draw(pdfnewpage page, java.awt.geom.rectangle2d bounds)
          draws the specified page.
  draw(pdfnewpage page, java.awt.geom.rectangle2d bounds, pdfgridlayoutformat format)
          draws the specified page.
 boolean getallowcrosspages()
          gets whether to cross a page.
 pdfgridcolumncollection getcolumns()
          gets the columns.
 java.lang.string getdatamember()
          gets the data member.
 java.lang.object getdatasource()
          gets the data source.
 pdfgridheadercollection getheaders()
          gets the headers.
 boolean getrepeatheader()
          gets a value indicating whether [repeat header].
 pdfgridrowcollection getrows()
          gets the rows.
 pdfgridstyle getstyle()
          gets or sets the style.
 void setallowcrosspages(boolean value)
          sets whether to cross a page.
 void setdatamember(java.lang.string value)
          sets the data member.
 void setdatasource(java.lang.object value)
          sets the data source.
 void setrepeatheader(boolean value)
          sets a value indicating whether [repeat header].
 
methods inherited from class com.spire.pdf.graphics.pdflayoutwidget
draw, draw, draw, draw, draw, draw
 
methods inherited from class com.spire.pdf.graphics.pdfgraphicswidget
draw, draw, draw
 
constructor detail

pdfgrid

public pdfgrid()
initializes a new instance of the class.
method detail

getheaders

public pdfgridheadercollection getheaders()
gets the headers.

getrows

public pdfgridrowcollection getrows()
gets the rows.

getdatasource

public java.lang.object getdatasource()
gets the data source.

setdatasource

public void setdatasource(java.lang.object value)
sets the data source.

getdatamember

public java.lang.string getdatamember()
gets the data member.

setdatamember

public void setdatamember(java.lang.string value)
sets the data member.

getstyle

public pdfgridstyle getstyle()
gets or sets the style.

getcolumns

public pdfgridcolumncollection getcolumns()
gets the columns.

getrepeatheader

public boolean getrepeatheader()
gets a value indicating whether [repeat header].

setrepeatheader

public void setrepeatheader(boolean value)
sets a value indicating whether [repeat header].

getallowcrosspages

public boolean getallowcrosspages()
gets whether to cross a page.

setallowcrosspages

public void setallowcrosspages(boolean value)
sets whether to cross a page.

draw

public  draw(pdfnewpage page,
                                java.awt.geom.point2d location)
draws the specified page.
parameters:
page - the page.
location - the location.
returns:
pdfgridlayoutresult

draw

public  draw(pdfnewpage page,
                                java.awt.geom.point2d location,
                                pdfgridlayoutformat format)
draws the specified page.
parameters:
page - the page.
location - the location.
format - the format.
returns:
pdfgridlayoutresult

draw

public  draw(pdfnewpage page,
                                java.awt.geom.rectangle2d bounds)
draws the specified page.
parameters:
page - the page.
bounds - the bounds.
returns:
pdfgridlayoutresult

draw

public  draw(pdfnewpage page,
                                java.awt.geom.rectangle2d bounds,
                                pdfgridlayoutformat format)
draws the specified page.
parameters:
page - the page.
bounds - the bounds.
format - the format.
returns:
pdfgridlayoutresult

draw

public  draw(pdfnewpage page,
                                float x,
                                float y)
draws the specified page.
parameters:
page - the page.
x - the x.
y - the y.
returns:
pdfgridlayoutresult


网站地图