pdfdatetimefield-ag凯发旗舰厅
com.spire.pdf.automaticfields
class pdfdatetimefield
java.lang.object
com.spire.pdf.graphics.pdfgraphicswidget
com.spire.pdf.automaticfields.pdfautomaticfield
com.spire.pdf.automaticfields.pdfstaticfield
com.spire.pdf.automaticfields.pdfdatetimefield
public class pdfdatetimefield
- extends pdfstaticfield
represents date automated field.
methods inherited from class com.spire.pdf.automaticfields.pdfautomaticfield |
draw, getbounds, getbrush, getfont, getlocation, getpen, getsize, getstringformat, setbounds, setbrush, setfont, setlocation, setpen, setsize, setstringformat |
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.
getdateformatstring
public java.lang.string getdateformatstring()
- gets the format string.
setdateformatstring
public void setdateformatstring(java.lang.string value)
- sets the format string.