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
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, getHighlightMode, getLocation, getSize, getTextAlignment, getVisible, setBackColor, setBorderColor, setBorderStyle, setBorderWidth, setBounds, setForeColor, setHighlightMode, setLocation, setSize, setTextAlignment, setVisible |
| Methods inherited from class com.spire.pdf.fields.PdfField |
getAnnotationFlags, getExport, getFlatten, getForm, getMappingName, getName, getPage, getReadOnly, getRequired, getToolTip, setAnnotationFlags, 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