Skip to main content

ChoiceItemList

Version: 12.0

cete.dynamicpdf.pageelements.forms.choiceitemlist

ChoiceItemList​

Represents the ChoiceItemList which holds the item of choice field of interactive forms.

public class ChoiceItemList
Public Class ChoiceItemList

Inheritance: Object → ChoiceItemList

Licensing Info​

This class is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:

Constructors​

ChoiceItemList()​

Initializes a new instance of the ChoiceItemList class.

public ChoiceItemList()
Public Sub New ()

Licensing Info​

This constructor is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:

Properties​

Count​

Gets the number of items available in the item list.

public int Count { get; }
Public Property Count As Int32

Property Value​

Int32

Licensing Info​

This property is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:

Item[Int32]​

Gets the ChoiceItem from the list with a given index.

public ChoiceItem this[int index] { get; }
Public Property Item(index As Integer) As ChoiceItem

Property Value​

ChoiceItem

Licensing Info​

This property is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:

Item[String]​

Gets the ChoiceItem from the list with the given item name.

public ChoiceItem this[string itemName] { get; }
Public Property Item(itemName As String) As ChoiceItem

Property Value​

ChoiceItem

Licensing Info​

This property is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:

Methods​

Add(String)​

Adds the item to the list. No duplicate items are allowed.

public ChoiceItem Add(string itemName)
Function Add(itemName As String) As ChoiceItem

Parameters​

ItemName to be added to the list.

Returns​

Licensing Info​

This method is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:

Add(String, Boolean)​

Adds the item to the list. No duplicate items are allowed.

public ChoiceItem Add(string itemName, bool selected)
Function Add(itemName As String, selected As Boolean) As ChoiceItem

Parameters​

ItemName to be added to the list.

The item to be selected.

Returns​

Licensing Info​

This method is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:

Add(String, String)​

Adds the item to the list. No duplicate items are allowed.

public ChoiceItem Add(string itemName, string exportValue)
Function Add(itemName As String, exportValue As String) As ChoiceItem

Parameters​

ItemName to be added to the list.

ExportValue for the item.

Returns​

Licensing Info​

This method is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:

Add(String, String, Boolean)​

Adds the item to the list. No duplicate items are allowed.

public ChoiceItem Add(string itemName, string exportValue, bool selected)
Function Add(itemName As String, exportValue As String, selected As Boolean) As ChoiceItem

Parameters​

ItemName to be added to the list.

ExportValue for the item.

The item to be selected.

Returns​

Licensing Info​

This method is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:

Equals(Object)​

Determines whether the specified Object is equal to the current Object . (Inherited from Object)

public bool Equals(Object obj)
Function Equals(obj As Object) As Boolean

Parameters​

The Object to compare with the current Object .

Returns​

true if the specified Object is equal to the current Object ; otherwise, false.

Licensing Info​

This method is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:

GetHashCode()​

Serves as a hash function for a particular type. (Inherited from Object)

public int GetHashCode()
Function GetHashCode() As Integer

Returns​

A hash code for the current Object .

Licensing Info​

This method is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:

GetType()​

Gets the Type of the current instance. (Inherited from Object)

public Type GetType()
Function GetType() As Type

Returns​

The Type instance that represents the exact runtime type of the current instance.

Licensing Info​

This method is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:

Remove(Int32)​

Removes the item from the list.

public void Remove(int index)
Sub Remove(index As Integer)

Parameters​

Item index to be removed from the list.

Licensing Info​

This method is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:

ToString()​

Returns a String that represents the current Object . (Inherited from Object)

public string ToString()
Function ToString() As String

Returns​

A String that represents the current Object .

Licensing Info​

This method is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:

See Also​

ceTe.DynamicPDF.PageElements.Forms