 | PdfiumFPDFFormField_GetSelectedIndex Method |
Gets selected index
Namespace: Patagames.PdfAssembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.94.2704
Syntaxpublic static int FPDFFormField_GetSelectedIndex(
IntPtr frmField,
int index
)
Public Shared Function FPDFFormField_GetSelectedIndex (
frmField As IntPtr,
index As Integer
) As Integer
public:
static int FPDFFormField_GetSelectedIndex(
IntPtr frmField,
int index
)
static member FPDFFormField_GetSelectedIndex :
frmField : IntPtr *
index : int -> int
public static int FPDFFormField_GetSelectedIndex(
IntPtr frmField,
int index
)
Patagames.Pdf.Pdfium.FPDFFormField_GetSelectedIndex = function(frmField, index);
Parameters
- frmField IntPtr
- Handle to field. Returned by FPDFInterForm_GetField(IntPtr, Int32, String) function./
- index Int32
- Index of item ranging from 0 to FPDFFormField_CountSelectedItems(IntPtr)
Return Value
Int32Selected index
Remarks
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, the
entry 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.
See Also