pdfcomboboxfield-ag凯发旗舰厅
com.spire.pdf.fields
class pdfcomboboxfield
java.lang.object
com.spire.pdf.fields.pdffield
com.spire.pdf.fields.pdfstyledfield
com.spire.pdf.fields.pdfappearancefield
com.spire.pdf.fields.pdflistfield
com.spire.pdf.fields.pdfcomboboxfield
- all implemented interfaces:
- ipdfwrapper
public class pdfcomboboxfield
- extends pdflistfield
represents combo box field in the pdf form.
methods inherited from class com.spire.pdf.fields.pdfstyledfield |
getactions, getbackcolor, getborderstyle, getborderwidth, getbounds, getforecolor, getlocation, getsize, gettextalignment, getvisible, setbackcolor, setbordercolor, setborderstyle, setborderwidth, setbounds, setforecolor, setlocation, setsize, settextalignment, setvisible |
methods inherited from class com.spire.pdf.fields.pdffield |
getexport, getflatten, getform, getmappingname, getname, getpage, getreadonly, getrequired, gettooltip, setexport, setflatten, setreadonly, settooltip |
pdfcomboboxfield
public pdfcomboboxfield(pdfpagebase page,
java.lang.string name)
- initializes a new instance of the class.
- parameters:
page
- page the field to be placed on.name
- the name of the field.
pdfcomboboxfield
public pdfcomboboxfield()
setselectedindex
public void setselectedindex(int selectedindexs)
- sets selected value
- parameters:
selectedindexs
-
setfont
public void setfont(pdffontbase value)
- sets the font
- overrides:
setfont
in class pdfstyledfield
- parameters:
value
- pdffontbase value