VintaSoft Imaging .NET SDK 14.0: Documentation for .NET developer
Vintasoft.Imaging.Pdf.Tree.InteractiveForms Namespace / PdfInteractiveFormListBoxField Class / SelectedItemIndexes Property
Syntax Remarks Requirements SeeAlso
In This Topic
    SelectedItemIndexes Property (PdfInteractiveFormListBoxField)
    In This Topic
    Gets or sets an array of integer values, sorted in ascending order, representing the zero-based indices in the Items collection of the currently selected option items.
    Syntax
    'Declaration
    
    <DefaultValueAttribute(null)>
    <CategoryAttribute("Value")>
    <DescriptionAttribute("Array of integer values, sorted in ascending order, representing the zero-based indices in the Items collection of the currently selected option items.")>
    <RefreshPropertiesAttribute(Repaint)>
    Public Overrides Property SelectedItemIndexes As System.Int32[]
    
    
    [DefaultValue(null)]
    [Category("Value")]
    [Description("Array of integer values, sorted in ascending order, representing the zero-based indices in the Items collection of the currently selected option items.")]
    [RefreshProperties(Repaint)]
    public override System.Int32[] SelectedItemIndexes { get; set; }
    
    
    [DefaultValue(null)]
    [Category("Value")]
    [Description("Array of integer values, sorted in ascending order, representing the zero-based indices in the Items collection of the currently selected option items.")]
    [RefreshProperties(Repaint)]
    public: __property System.Int32[] get_SelectedItemIndexes(); override;
    public: __property void set_SelectedItemIndexes(
    System.Int32[]* value
    ); override;
    [DefaultValue(null)]
    [Category("Value")]
    [Description("Array of integer values, sorted in ascending order, representing the zero-based indices in the Items collection of the currently selected option items.")]
    [RefreshProperties(Repaint)]
    public:
    property System.Int32[] SelectedItemIndexes { System.Int32[] get() override;; void set(array<System.Int32>^ value) override;; }

    Property Value

    For fields that allow multiple selection (IsMultiSelect is set to true), an array of integers, sorted in ascending order, representing the zero-based indices in the Items array of the currently selected option items.
    Remarks

    This entry is required when two or more elements in the Items 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 SelectedItems property, the SelectedItems entry takes precedence.

    Requirements

    Target Platforms: .NET9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    See Also