Click or drag to resize

PdfiumFPDFFormField_CountSelectedItems Method

Get selected items count

Namespace: Patagames.Pdf
Assembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.94.2704
Syntax
public static int FPDFFormField_CountSelectedItems(
	IntPtr frmField
)

Parameters

frmField  IntPtr
Handle to field. Returned by FPDFInterForm_GetField(IntPtr, Int32, String) function./

Return Value

Int32
Number of selected items
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