pdflayoutwidget-ag凯发旗舰厅
com.spire.pdf.graphics
class pdflayoutwidget
java.lang.object
com.spire.pdf.graphics.pdfgraphicswidget
com.spire.pdf.graphics.pdflayoutwidget
- direct known subclasses:
- pdfgrid, pdflistbase, pdfshapewidget, pdftable, pdftextwidget
public abstract class pdflayoutwidget
- extends pdfgraphicswidget
represents the base class for all elements that can be layout on the pages.
[system.security.permissions.permissionset(system.security.permissions.securityaction.assert, name = "fulltrust")]
method summary |
pdflayoutresult |
draw(pdfpagebase page,
double x,
double y)
draws the element on the page. |
pdflayoutresult |
draw(pdfpagebase page,
float x,
float y)
draws the element on the page. |
pdflayoutresult |
draw(pdfpagebase page,
java.awt.geom.point2d location)
draws the element on the page. |
pdflayoutresult |
draw(pdfpagebase page,
java.awt.geom.point2d location,
pdftextlayout format)
draws the element on the page. |
pdflayoutresult |
draw(pdfpagebase page,
java.awt.geom.rectangle2d layoutrectangle)
draws the element on the page. |
pdflayoutresult |
draw(pdfpagebase page,
java.awt.geom.rectangle2d layoutrectangle,
pdftextlayout format)
draws the element on the page. |
beginpagelayout
public com.spire.ms.lang.event<beginpagelayouteventhandler> beginpagelayout
pdflayoutwidget
public pdflayoutwidget()
draw
public pdflayoutresult draw(pdfpagebase page,
java.awt.geom.point2d location)
- draws the element on the page.
- parameters:
page
- current page where the element should be drawn.location
- start location on the page.
- returns:
- layouting result.
draw
public pdflayoutresult draw(pdfpagebase page,
float x,
float y)
- draws the element on the page.
- parameters:
page
- current page where the element should be drawn.x
- x co-ordinate of the element on the page.y
- y co-ordinate of the element on the page.
- returns:
- lay outing result.
draw
public pdflayoutresult draw(pdfpagebase page,
double x,
double y)
- draws the element on the page.
- parameters:
page
- current page where the element should be drawn.x
- x co-ordinate of the element on the page.y
- y co-ordinate of the element on the page.
- returns:
- lay outing result.
draw
public pdflayoutresult draw(pdfpagebase page,
java.awt.geom.rectangle2d layoutrectangle)
- draws the element on the page.
- parameters:
page
- current page where the element should be drawn.layoutrectangle
- rectanglef structure that specifies the bounds of the element.
- returns:
- lay outing result.
draw
public pdflayoutresult draw(pdfpagebase page,
java.awt.geom.point2d location,
pdftextlayout format)
- draws the element on the page.
- parameters:
page
- current page where the element should be drawn.location
- start location on the page.format
- lay outing format.
- returns:
- lay outing result.
draw
public pdflayoutresult draw(pdfpagebase page,
java.awt.geom.rectangle2d layoutrectangle,
pdftextlayout format)
- draws the element on the page.
- parameters:
page
- current page where the element should be drawn.layoutrectangle
- rectanglef structure that specifies the bounds of the element.format
- layout format.
- returns:
- layout result.