Table of Contents

Class PdfChoiceField.Keys

Namespace
PdfSharp.Pdf.AcroForms
Assembly
PdfSharp.dll

Predefined keys of this dictionary. The description comes from PDF 1.4 Reference.

public class PdfChoiceField.Keys : PdfAcroField.Keys
Inheritance
PdfChoiceField.Keys
Inherited Members

Constructors

Keys()

public Keys()

Fields

I

(Sometimes required, otherwise optional; inheritable; PDF 1.4) For choice fields that allow multiple selection (MultiSelect flag set), an array of integers, sorted in ascending order, representing the zero-based indices in the Opt array of the currently selected option items. This entry is required when two or more elements in the Opt array have different names but the same export value, or when the value of the choice field is an array; in other cases, it is permitted but not required. If the items identified by this entry differ from those in the V entry of the field dictionary (see below), the V entry takes precedence.

public const string I = "/I"

Field Value

string

Opt

(Required; inheritable) An array of options to be presented to the user. Each element of the array is either a text string representing one of the available options or a two-element array consisting of a text string together with a default appearance string for constructing the item’s appearance dynamically at viewing time.

public const string Opt = "/Opt"

Field Value

string

TI

(Optional; inheritable) For scrollable list boxes, the top index (the index in the Opt array of the first option visible in the list).

public const string TI = "/TI"

Field Value

string