Table of Contents

Class PdfChoiceField

Namespace
PdfSharp.Pdf.AcroForms
Assembly
PdfSharp.dll

Represents the base class for all choice field dictionaries.

public abstract class PdfChoiceField : PdfAcroField, ICloneable, IEnumerable<KeyValuePair<string, PdfItem?>>, IEnumerable
Inheritance
PdfChoiceField
Implements
Derived
Inherited Members

Constructors

PdfChoiceField(PdfDictionary)

Initializes a new instance of the PdfChoiceField class.

protected PdfChoiceField(PdfDictionary dict)

Parameters

dict PdfDictionary

PdfChoiceField(PdfDocument)

Initializes a new instance of the PdfChoiceField class.

protected PdfChoiceField(PdfDocument document)

Parameters

document PdfDocument

Methods

IndexInOptArray(string)

Gets the index of the specified string in the /Opt array or -1, if no such string exists.

protected int IndexInOptArray(string value)

Parameters

value string

Returns

int

ValueInOptArray(int)

Gets the value from the index in the /Opt array.

protected string ValueInOptArray(int index)

Parameters

index int

Returns

string