pdfdatetimefield-ag凯发旗舰厅



com.spire.pdf.automaticfields
class pdfdatetimefield

java.lang.object
  extended by com.spire.pdf.graphics.pdfgraphicswidget
      extended by com.spire.pdf.automaticfields.pdfautomaticfield
          extended by com.spire.pdf.automaticfields.pdfstaticfield
              extended by com.spire.pdf.automaticfields.pdfdatetimefield

public class pdfdatetimefield
extends pdfstaticfield

represents date automated field.


constructor summary
pdfdatetimefield()
          initializes a new instance of the class.
pdfdatetimefield(pdffontbase font)
          initializes a new instance of the class.
pdfdatetimefield(pdffontbase font, pdfbrush brush)
          initializes a new instance of the class.
pdfdatetimefield(pdffontbase font, java.awt.geom.rectangle2d bounds)
          initializes a new instance of the class.
 
method summary
 java.lang.string getdateformatstring()
          gets the format string.
 void setdateformatstring(java.lang.string value)
          sets the format string.
 
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

pdfdatetimefield

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

pdfdatetimefield

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

pdfdatetimefield

public pdfdatetimefield(pdffontbase font,
                        pdfbrush brush)
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.

pdfdatetimefield

public pdfdatetimefield(pdffontbase font,
                        java.awt.geom.rectangle2d bounds)
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.
bounds - specifies the location and size of the field.
method detail

getdateformatstring

public java.lang.string getdateformatstring()
gets the format string.

setdateformatstring

public void setdateformatstring(java.lang.string value)
sets the format string.


网站地图