pdftextwidget-ag凯发旗舰厅



com.spire.pdf.graphics
class pdftextwidget

java.lang.object
  extended by com.spire.pdf.graphics.pdfgraphicswidget
      extended by com.spire.pdf.graphics.pdflayoutwidget
          extended by com.spire.pdf.graphics.pdftextwidget
direct known subclasses:
pdftextweblink

public class pdftextwidget
extends pdflayoutwidget

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.
(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

pdftextwidget

public pdftextwidget()
initializes a new instance of the class.

pdftextwidget

public pdftextwidget(java.lang.string text)
initializes a new instance of the class.
parameters:
text - the text.

pdftextwidget

public pdftextwidget(java.lang.string text,
                     pdffontbase font)
initializes a new instance of the class.
parameters:
text - the text.
font - the font.

pdftextwidget

public pdftextwidget(java.lang.string text,
                     pdffontbase font,
                     pdfpen pen)
initializes a new instance of the class.
parameters:
text - the text.
font - the font.
pen - the pen.

pdftextwidget

public pdftextwidget(java.lang.string text,
                     pdffontbase font,
                     pdfbrush brush)
initializes a new instance of the class.
parameters:
text - the text.
font - the font.
brush - the brush.

pdftextwidget

public pdftextwidget(java.lang.string text,
                     pdffontbase font,
                     pdfpen pen,
                     pdfbrush brush,
                     pdfstringformat format)
initializes a new instance of the class.
parameters:
text - the text.
font - the font.
pen - the pen.
brush - the brush.
format - the format.
method detail

settext

public void settext(java.lang.string value)
sets a value indicating the text that should be printed.

setpen

public void setpen(pdfpen value)
sets a pen that will be used to draw the text.

setbrush

public void setbrush(pdfbrush value)
sets the brush that will be used to draw the text.

setfont

public void setfont(pdffontbase value)
sets a font that will be used to draw the text.

setstringformat

public void setstringformat(pdfstringformat value)
sets text settings that will be used to draw the text.


网站地图