pdflistboxfield-ag凯发旗舰厅
com.spire.pdf.fields
class pdflistboxfield
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.pdflistboxfield
- all implemented interfaces:
- ipdfwrapper
public class pdflistboxfield
- extends pdflistfield
represents list box field of 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 |
pdflistboxfield
public pdflistboxfield(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.
getpdfformfieldtextalignment
public getpdfformfieldtextalignment()
- gets pdftextalignment
- returns:
- the pdftextalignment enum
settextalignment
public void settextalignment( pdfformfieldtextalignment)
- sets textalignment
- parameters:
pdfformfieldtextalignment
- the pdfformfieldtextalignment enum
getmultiselect
public boolean getmultiselect()
- gets a value indicating whether the field is multiselectable.
setmultiselect
public void setmultiselect(boolean value)
- sets a value indicating whether the field is multiselectable.
setselectedindex
public void setselectedindex(int selectedindex)
- sets the selectedindex
- parameters:
selectedindex
- selectedindex