Table of Contents

Class PdfFormChoiceField

Namespace
PdfSharp.Pdf.Forms
Assembly
PdfSharp.dll
public abstract class PdfFormChoiceField : PdfFormTextFieldBase
Inheritance
object
PdfFormChoiceField
Derived
Inherited Members
Extension Methods

Properties

ExportValues

Gets the export values of the options, in /Opt order. An option without a separate export value exports its display text.

Options

Gets the options shown to the user, in /Opt order.

SelectedIndex

Gets or sets the index of the selected option, or -1 if none is selected; of several selected options in a list box that allows multiple selection, the first. Setting it selects that option alone: it writes the export value (/V), and the selected index (/I) when the field allows multiple selection, when another option has the same export value, or when the field already has one (ISO 32000-1 Table 231).

SelectedValue

Gets or sets the export value of the selected option, or null if none is selected; of several selected options in a list box that allows multiple selection, the first. Setting a value selects that option alone; a value that is not an option is allowed only for an editable combo box.