 | PdfiumFPDFFormField_CountSelectedItems Method |
Get selected items count
Namespace: Patagames.PdfAssembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.94.2704
Syntaxpublic static int FPDFFormField_CountSelectedItems(
IntPtr frmField
)
Public Shared Function FPDFFormField_CountSelectedItems (
frmField As IntPtr
) As Integer
public:
static int FPDFFormField_CountSelectedItems(
IntPtr frmField
)
static member FPDFFormField_CountSelectedItems :
frmField : IntPtr -> int
public static int FPDFFormField_CountSelectedItems(
IntPtr frmField
)
Patagames.Pdf.Pdfium.FPDFFormField_CountSelectedItems = function(frmField);
Parameters
- frmField IntPtr
- Handle to field. Returned by FPDFInterForm_GetField(IntPtr, Int32, String) function./
Return Value
Int32Number 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