ComboBoxField
Contents
[
Hide
]Inheritance: java.lang.Object, com.aspose.pdf.BaseParagraph, com.aspose.pdf.Annotation, com.aspose.pdf.WidgetAnnotation, com.aspose.pdf.Field, com.aspose.pdf.ChoiceField
public class ComboBoxField extends ChoiceField
Class representing Combobox field of the form.
Constructors
| Constructor | Description |
|---|---|
| ComboBoxField() | Constructor for ComboBoxField to be used in Generator. |
| ComboBoxField(IDocument doc) | Creates CombBox field to work with Generator. |
| ComboBoxField(Page page, Rectangle rect) | Constructor for ComboBox Field. |
| ComboBoxField(IDocument doc, Rectangle rect) | Constructor for Combobox field. |
Methods
| Method | Description |
|---|---|
| getEditable() | Gets editable status of the field. |
| setEditable(boolean value) | Sets editable status of the field. |
| getSpellCheck() | Gets spellchaeck activiity status. |
| setSpellCheck(boolean value) | Sets spellchaeck activity status. |
ComboBoxField()
public ComboBoxField()
Constructor for ComboBoxField to be used in Generator.
ComboBoxField(IDocument doc)
public ComboBoxField(IDocument doc)
Creates CombBox field to work with Generator.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| doc | IDocument | Document where field will be created. |
ComboBoxField(Page page, Rectangle rect)
public ComboBoxField(Page page, Rectangle rect)
Constructor for ComboBox Field.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| page | Page | Page where field will be placed. |
| rect | Rectangle | Rectangle which defines size and position of the field on the page. |
ComboBoxField(IDocument doc, Rectangle rect)
public ComboBoxField(IDocument doc, Rectangle rect)
Constructor for Combobox field.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| doc | IDocument | Document where field should be created. |
| rect | Rectangle | Rectangle which defines size and position of the field. |
getEditable()
public boolean getEditable()
Gets editable status of the field.
Returns: boolean - boolean value
setEditable(boolean value)
public void setEditable(boolean value)
Sets editable status of the field.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | boolean | boolean value |
getSpellCheck()
public boolean getSpellCheck()
Gets spellchaeck activiity status.
Returns: boolean - boolean value
setSpellCheck(boolean value)
public void setSpellCheck(boolean value)
Sets spellchaeck activity status.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | boolean | boolean value |