pdfbuttonwidgetfieldwidget-ag凯发旗舰厅



com.spire.pdf.widget
class pdfbuttonwidgetfieldwidget

java.lang.object
  extended by com.spire.pdf.fields.pdffield
      extended by com.spire.pdf.widget.pdffieldwidget
          extended by com.spire.pdf.widget.pdfstyledfieldwidget
              extended by com.spire.pdf.widget.pdfbuttonwidgetfieldwidget
all implemented interfaces:
ipdfwrapper

public class pdfbuttonwidgetfieldwidget
extends pdfstyledfieldwidget

represents a button field of an existing pdf document s form.


constructor summary
pdfbuttonwidgetfieldwidget( dictionary,  crosstable)
           
 
method summary
 java.awt.geom.rectangle2d getbounds()
          gets the bounds.
 pdffontbase getfont()
          gets the font.
 pdfbuttoniconlayout geticonlayout()
          defining the icon layout.
 java.lang.string gettext()
          gets or sets the caption text.
 void setbuttonimage(pdfimage image)
          need replace image
 void setfont(pdffontbase value)
          sets the font.
 void settext(java.lang.string value)
          sets the text of the field.
 
methods inherited from class com.spire.pdf.widget.pdfstyledfieldwidget
getactions, getbordercolor, getborderstyle, getborderwidth, getgotfocus, getlocation, getlostfocus, getmousedown, getmouseenter, getmouseleave, getsize, getvisible, setbordercolor, setborderstyle, setborderwidth, setbounds, setgotfocus, setlocation, setlostfocus, setmousedown, setmouseenter, setmouseleave, setsize
 
methods inherited from class com.spire.pdf.widget.pdffieldwidget
getname, getpage, gettooltip, importfieldvalue, setreadonly, setrequired
 
methods inherited from class com.spire.pdf.fields.pdffield
getexport, getflatten, getform, getmappingname, getreadonly, getrequired, setexport, setflatten, settooltip
 
constructor detail

pdfbuttonwidgetfieldwidget

public pdfbuttonwidgetfieldwidget( dictionary,
                                   crosstable)
method detail

gettext

public java.lang.string gettext()
gets or sets the caption text.

settext

public void settext(java.lang.string value)
sets the text of the field.
parameters:
value - text field.

geticonlayout

public pdfbuttoniconlayout geticonlayout()
defining the icon layout.

getfont

public pdffontbase getfont()
gets the font.
overrides:
getfont in class pdfstyledfieldwidget

setfont

public void setfont(pdffontbase value)
sets the font.
overrides:
setfont in class pdfstyledfieldwidget

getbounds

public java.awt.geom.rectangle2d getbounds()
gets the bounds.
overrides:
getbounds in class pdfstyledfieldwidget

setbuttonimage

public void setbuttonimage(pdfimage image)
need replace image
parameters:
image -


网站地图