pdfcreationdatefield-j9官方网址
com.spire.pdf.automaticfields
class pdfcreationdatefield
java.lang.object
com.spire.pdf.graphics.pdfgraphicswidget
com.spire.pdf.automaticfields.pdfautomaticfield
com.spire.pdf.automaticfields.pdfdynamicfield
com.spire.pdf.automaticfields.pdfsinglevaluefield
com.spire.pdf.automaticfields.pdfcreationdatefield
public class pdfcreationdatefield
- extends pdfsinglevaluefield
represents class to display creation date of the document.
| methods inherited from class com.spire.pdf.automaticfields.pdfautomaticfield |
draw, getbounds, getbrush, getfont, getlocation, getpen, getsize, getstringformat, setbounds, setbrush, setfont, setlocation, setpen, setsize, setstringformat |
pdfcreationdatefield
public pdfcreationdatefield()
- initializes a new instance of the class.
pdfcreationdatefield
public pdfcreationdatefield(pdffontbase font)
- initializes a new instance of the class.
- parameters:
font - the font.
pdfcreationdatefield
public pdfcreationdatefield(pdffontbase font,
pdfbrush brush)
- initializes a new instance of the class.
- parameters:
font - the font.brush - the brush.
pdfcreationdatefield
public pdfcreationdatefield(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.