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