pdflayoutwidget-ag凯发旗舰厅



com.spire.pdf.graphics
class pdflayoutwidget

java.lang.object
  extended by com.spire.pdf.graphics.pdfgraphicswidget
      extended by 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")]


field summary
 com.spire.ms.lang.event<beginpagelayouteventhandler> beginpagelayout
           
 
constructor summary
pdflayoutwidget()
           
 
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.
 
methods inherited from class com.spire.pdf.graphics.pdfgraphicswidget
draw, draw, draw
 
field detail

beginpagelayout

public com.spire.ms.lang.event<beginpagelayouteventhandler> beginpagelayout
constructor detail

pdflayoutwidget

public pdflayoutwidget()
method detail

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.


网站地图