pdfcompositefield-ag凯发旗舰厅



com.spire.pdf.automaticfields
class pdfcompositefield

java.lang.object
  extended by com.spire.pdf.graphics.pdfgraphicswidget
      extended by com.spire.pdf.automaticfields.pdfautomaticfield
          extended by com.spire.pdf.automaticfields.pdfdynamicfield
              extended by com.spire.pdf.automaticfields.pdfmultiplevaluefield
                  extended by com.spire.pdf.automaticfields.pdfcompositefield

public class pdfcompositefield
extends pdfmultiplevaluefield

represents class which can concatenate multiple automatic fields into single string.


constructor summary
pdfcompositefield()
          initializes a new instance of the class.
pdfcompositefield(pdffontbase font)
          initializes a new instance of the class.
pdfcompositefield(pdffontbase font, pdfbrush brush)
          initializes a new instance of the class.
pdfcompositefield(pdffontbase font, pdfbrush brush, java.lang.string text)
          initializes a new instance of the class.
(pdffontbase font, pdfbrush brush, java.lang.string text, pdfautomaticfield... list)
          initializes a new instance of the class.
pdfcompositefield(pdffontbase font, java.lang.string text)
          initializes a new instance of the class.
pdfcompositefield(pdffontbase font, java.lang.string text, pdfautomaticfield... list)
          initializes a new instance of the class.
pdfcompositefield(java.lang.string text, pdfautomaticfield... list)
          initializes a new instance of the class.
 
method summary
 pdfautomaticfield[] getautomaticfields()
          gets the automatic fields.
 java.lang.string gettext()
          gets the text.
 void setautomaticfields(pdfautomaticfield[] value)
          sets the automatic fields.
 void settext(java.lang.string value)
          sets the text.
 
methods inherited from class com.spire.pdf.automaticfields.pdfautomaticfield
draw, getbounds, getbrush, getfont, getlocation, getpen, getsize, getstringformat, setbounds, setbrush, setfont, setlocation, setpen, setsize, setstringformat
 
methods inherited from class com.spire.pdf.graphics.pdfgraphicswidget
draw, draw
 
constructor detail

pdfcompositefield

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

pdfcompositefield

public pdfcompositefield(pdffontbase font)
initializes a new instance of the class.
parameters:
font - a object that specifies the font attributes (the family name, the size, and the style of the font) to use.

pdfcompositefield

public pdfcompositefield(pdffontbase font,
                         pdfbrush brush)
initializes a new instance of the class.
parameters:
font - the font.
brush - the brush.

pdfcompositefield

public pdfcompositefield(pdffontbase font,
                         java.lang.string text)
initializes a new instance of the class.
parameters:
font - a object that specifies the font attributes (the family name, the size, and the style of the font) to use.
text - the wide-character string to be drawn.

pdfcompositefield

public pdfcompositefield(pdffontbase font,
                         pdfbrush brush,
                         java.lang.string text)
initializes a new instance of the class.
parameters:
font - a object that specifies the font attributes (the family name, the size, and the style of the font) to use.
text - the wide-character string to be drawn.
brush - a object that is used to fill the string.

pdfcompositefield

public pdfcompositefield(java.lang.string text,
                         pdfautomaticfield... list)
initializes a new instance of the class.
parameters:
text - the wide-character string to be drawn.
list - the list of objects.

pdfcompositefield

public pdfcompositefield(pdffontbase font,
                         java.lang.string text,
                         pdfautomaticfield... list)
initializes a new instance of the class.
parameters:
font - a object that specifies the font attributes (the family name, the size, and the style of the font) to use.
text - the wide-character string to be drawn.
list - the list of objects.

pdfcompositefield

public pdfcompositefield(pdffontbase font,
                         pdfbrush brush,
                         java.lang.string text,
                         pdfautomaticfield... list)
initializes a new instance of the class.
parameters:
font - a object that specifies the font attributes (the family name, the size, and the style of the font) to use.
brush - a object that is used to fill the string.
text - the wide-character string to be drawn.
list - the list of objects.
method detail

gettext

public java.lang.string gettext()
gets the text.

settext

public void settext(java.lang.string value)
sets the text.

getautomaticfields

public pdfautomaticfield[] getautomaticfields()
gets the automatic fields.

setautomaticfields

public void setautomaticfields(pdfautomaticfield[] value)
sets the automatic fields.


网站地图