[]
        
(Showing Draft Content)

GrapeCity.Documents.Pdf.AcroForms.ChoiceFieldItem

Class ChoiceFieldItem

Namespace
GrapeCity.Documents.Pdf.AcroForms
Assembly
GcDocs.Pdf.dll

Represents an item displayed in ChoiceField.

public class ChoiceFieldItem
Inheritance
object
ChoiceFieldItem
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()

Constructors

ChoiceFieldItem()

Initializes a new instance of the ChoiceFieldItem class.

public ChoiceFieldItem()

ChoiceFieldItem(string, string)

Initializes a new instance of the ChoiceFieldItem class.

public ChoiceFieldItem(string text, string value)

Parameters

text string

The item's text.

value string

The item's value.

ChoiceFieldItem(string)

Initializes a new instance of the ChoiceFieldItem class.

public ChoiceFieldItem(string text)

Parameters

text string

The item's text.

Properties

Text

Gets or sets the text used to display an item.

public string Text { get; set; }

Property Value

string

Value

Gets or sets the value of item, if not specified then Text will be used as value.

public string Value { get; set; }

Property Value

string

Methods

Clone()

Creates a new object that is a copy of the current instance.

public ChoiceFieldItem Clone()

Returns

ChoiceFieldItem

A new object that is a copy of this instance.