pdfHTML 2.1.6 API
iText.Html2pdf.Attach.Impl.Layout.Form.Element.ListBoxField Class Reference

A field that represents a control for selecting one or several of the provided options. More...

Inheritance diagram for iText.Html2pdf.Attach.Impl.Layout.Form.Element.ListBoxField:
iText.Html2pdf.Attach.Impl.Layout.Form.Element.AbstractSelectField iText.Html2pdf.Attach.Impl.Layout.Form.Element.FormField< iText.Html2pdf.Attach.Impl.Layout.Form.Element.AbstractSelectField >

Public Member Functions

  ListBoxField (String id, int size, bool allowMultipleSelection)
  Creates a new list box field. More...
 
override T1  GetDefaultProperty< T1 > (int property)
 
- Public Member Functions inherited from iText.Html2pdf.Attach.Impl.Layout.Form.Element.AbstractSelectField
virtual void  AddOption (IBlockElement optionElement)
  Adds a container with option(s). More...
 
virtual IList< IBlockElement >  GetOptions ()
  Gets a list of containers with option(s). More...
 
- Public Member Functions inherited from iText.Html2pdf.Attach.Impl.Layout.Form.Element.FormField< iText.Html2pdf.Attach.Impl.Layout.Form.Element.AbstractSelectField >
virtual String  GetId ()
  Gets the id. More...
 
override T1  GetDefaultProperty< T1 > (int property)
 

Protected Member Functions

override IRenderer  MakeNewRenderer ()
 

Detailed Description

A field that represents a control for selecting one or several of the provided options.

Constructor & Destructor Documentation

◆ ListBoxField()

iText.Html2pdf.Attach.Impl.Layout.Form.Element.ListBoxField.ListBoxField ( String  id,
int  size,
bool  allowMultipleSelection 
)
inline

Creates a new list box field.

Parameters
size the size of the list box, which will define the height of visible properties, shall be greater than zero
allowMultipleSelection a boolean flag that defines whether multiple options are allowed to be selected at once
id the id