|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.spire.pdf.graphics.PdfGraphicsWidget
com.spire.pdf.graphics.PdfLayoutWidget
public abstract class PdfLayoutWidget
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 |
|---|
public com.spire.ms.lang.Event<BeginPageLayoutEventHandler> beginPageLayout
| Constructor Detail |
|---|
public PdfLayoutWidget()
| Method Detail |
|---|
public PdfLayoutResult draw(PdfPageBase page,
java.awt.geom.Point2D location)
page - Current page where the element should be drawn.location - Start location on the page.
public PdfLayoutResult draw(PdfPageBase page,
float x,
float y)
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.
public PdfLayoutResult draw(PdfPageBase page,
double x,
double y)
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.
public PdfLayoutResult draw(PdfPageBase page,
java.awt.geom.Rectangle2D layoutRectangle)
page - Current page where the element should be drawn.layoutRectangle - RectangleF structure that specifies the bounds of the element.
public PdfLayoutResult draw(PdfPageBase page,
java.awt.geom.Point2D location,
PdfTextLayout format)
page - Current page where the element should be drawn.location - Start location on the page.format - Lay outing format.
public PdfLayoutResult draw(PdfPageBase page,
java.awt.geom.Rectangle2D layoutRectangle,
PdfTextLayout format)
page - Current page where the element should be drawn.layoutRectangle - RectangleF structure that specifies the bounds of the element.format - Layout format.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||