pdfradiobuttonlistfield-ag凯发旗舰厅
com.spire.pdf.fields
class pdfradiobuttonlistfield
java.lang.object
com.spire.pdf.fields.pdffield
com.spire.pdf.fields.pdfradiobuttonlistfield
- all implemented interfaces:
- ipdfwrapper
public class pdfradiobuttonlistfield
- extends pdffield
represents radio button field in the pdf form.
methods inherited from class com.spire.pdf.fields.pdffield |
getexport, getflatten, getform, getmappingname, getname, getpage, getreadonly, getrequired, gettooltip, setexport, setflatten, setreadonly, settooltip |
pdfradiobuttonlistfield
public pdfradiobuttonlistfield(pdfpagebase page,
java.lang.string name)
- initializes a new instance of the class.
- parameters:
page
- page which the field to be placed on.name
- the name of the field.
getselectedindex
public int getselectedindex()
- gets the first selected item in the list.
setselectedindex
public void setselectedindex(int value)
- sets the first selected item in the list.
getitems
public pdfradiobuttonitemcollection getitems()
- gets the items of the radio button field.