Table of Contents

Property SelectedIndex

Namespace
PdfSharp.Pdf.Forms
Assembly
PdfSharp.dll

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).

public int SelectedIndex { get; set; }

Property Value

int