ComboBoxField

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

ConstructorDescription
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

MethodDescription
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:

ParameterTypeDescription
docIDocumentDocument where field will be created.

ComboBoxField(Page page, Rectangle rect)

public ComboBoxField(Page page, Rectangle rect)

Constructor for ComboBox Field.

Parameters:

ParameterTypeDescription
pagePagePage where field will be placed.
rectRectangleRectangle 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:

ParameterTypeDescription
docIDocumentDocument where field should be created.
rectRectangleRectangle 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:

ParameterTypeDescription
valuebooleanboolean 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:

ParameterTypeDescription
valuebooleanboolean value