Skip to main content

ChoiceItemList

Version: 7.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​

/// This class is a DynamicPDF Generator Enterprise Edition feature. One of the following licenses is required for non-evaluation usage:

  • DynamicPDF Generator for .NET Enterprise Edition
  • DynamicPDF Merger for .NET Enterprise Edition
  • DynamicPDF ReportWriter for .NET Enterprise Edition
  • DynamicPDF Core Suite for .NET Enterprise Edition

Constructors​

ChoiceItemList()​

Initializes a new instance of the ChoiceItemList class.

public ChoiceItemList()
Public Sub New ()

Properties​

Count​

Gets the number of items available in the item list.

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

Property Value​

Int32

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

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

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​

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​

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​

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​

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.

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 .

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.

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.

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 .

See Also​

ceTe.DynamicPDF.PageElements.Forms