Foxit PDF SDK
foxit.pdf.interform.ChoiceOptionArray Class Reference

Inherits SystemIDisposable.

Public Member Functions

 ChoiceOptionArray ()
 Constructor.
 
 ChoiceOptionArray (ChoiceOptionArray other)
 Constructor, with another array object. More...
 
void Add (ChoiceOption element)
 Add an element to the end of current array. More...
 
ChoiceOption GetAt (uint index)
 Retrieve a copy of the element at position specified by index in current array. More...
 
uint GetSize ()
 Get the size of elements in current array. More...
 
void InsertAt (uint index, ChoiceOption element)
 Insert an element before the position specified by index. More...
 
void RemoveAll ()
 Remove all the element from current array. More...
 
void RemoveAt (uint index)
 Remove the element in position specified by index. More...
 

Detailed Description

This class represents an array of choice options.

Constructor & Destructor Documentation

◆ ChoiceOptionArray()

foxit.pdf.interform.ChoiceOptionArray.ChoiceOptionArray ( ChoiceOptionArray  other)
inline

Constructor, with another array object.

Parameters
[in]otherAnother array object.

Member Function Documentation

◆ Add()

void foxit.pdf.interform.ChoiceOptionArray.Add ( ChoiceOption  element)
inline

Add an element to the end of current array.

Parameters
[in]elementNew element to be added to current array.
Returns
None.

◆ GetAt()

ChoiceOption foxit.pdf.interform.ChoiceOptionArray.GetAt ( uint  index)
inline

Retrieve a copy of the element at position specified by index in current array.

Parameters
[in]indexAn index to specify which element is to be retrieved.
Returns
A copy of an element.

◆ GetSize()

uint foxit.pdf.interform.ChoiceOptionArray.GetSize ( )
inline

Get the size of elements in current array.

Returns
The size.

◆ InsertAt()

void foxit.pdf.interform.ChoiceOptionArray.InsertAt ( uint  index,
ChoiceOption  element 
)
inline

Insert an element before the position specified by index.

Parameters
[in]indexAn index to specify where to insert the new element. Valid range: from 0 to (size-1). size is the size of elements in current array.
[in]elementNew element to be inserted to current array.
Returns
None.

◆ RemoveAll()

void foxit.pdf.interform.ChoiceOptionArray.RemoveAll ( )
inline

Remove all the element from current array.

Returns
None.

◆ RemoveAt()

void foxit.pdf.interform.ChoiceOptionArray.RemoveAt ( uint  index)
inline

Remove the element in position specified by index.

Parameters
[in]indexAn index to specify which element is to be removed. Valid range: from 0 to (size-1). size is the size of elements in current array.
Returns
None.