|
|||||||||
| 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
com.spire.pdf.graphics.PdfTextWidget
public class PdfTextWidget
Represents the text area with the ability to span several pages.
| Field Summary |
|---|
| Fields inherited from class com.spire.pdf.graphics.PdfLayoutWidget |
|---|
beginPageLayout |
| Constructor Summary | |
|---|---|
PdfTextWidget()
Initializes a new instance of the class. |
|
PdfTextWidget(java.lang.String text)
Initializes a new instance of the class. |
|
PdfTextWidget(java.lang.String text,
PdfFontBase font)
Initializes a new instance of the class. |
|
PdfTextWidget(java.lang.String text,
PdfFontBase font,
PdfBrush brush)
Initializes a new instance of the class. |
|
PdfTextWidget(java.lang.String text,
PdfFontBase font,
PdfPen pen)
Initializes a new instance of the class. |
|
PdfTextWidget(java.lang.String text,
PdfFontBase font,
PdfPen pen,
PdfBrush brush,
PdfStringFormat format)
Initializes a new instance of the class. |
|
| Method Summary | |
|---|---|
void |
setBrush(PdfBrush value)
Sets the brush that will be used to draw the text. |
void |
setFont(PdfFontBase value)
Sets a font that will be used to draw the text. |
void |
setPen(PdfPen value)
Sets a pen that will be used to draw the text. |
void |
setStringFormat(PdfStringFormat value)
Sets text settings that will be used to draw the text. |
void |
setText(java.lang.String value)
Sets a value indicating the text that should be printed. |
| 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 |
|---|
public PdfTextWidget()
public PdfTextWidget(java.lang.String text)
text - The text.
public PdfTextWidget(java.lang.String text,
PdfFontBase font)
text - The text.font - The font.
public PdfTextWidget(java.lang.String text,
PdfFontBase font,
PdfPen pen)
text - The text.font - The font.pen - The pen.
public PdfTextWidget(java.lang.String text,
PdfFontBase font,
PdfBrush brush)
text - The text.font - The font.brush - The brush.
public PdfTextWidget(java.lang.String text,
PdfFontBase font,
PdfPen pen,
PdfBrush brush,
PdfStringFormat format)
text - The text.font - The font.pen - The pen.brush - The brush.format - The format.| Method Detail |
|---|
public void setText(java.lang.String value)
public void setPen(PdfPen value)
public void setBrush(PdfBrush value)
public void setFont(PdfFontBase value)
public void setStringFormat(PdfStringFormat value)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||