VintaSoft Imaging .NET SDK 14.0: Documentation for .NET developer
Vintasoft.Imaging.Pdf.JavaScriptApi Namespace / PdfJsField Class / setItems(Object[]) Method
Syntax Requirements SeeAlso
In This Topic
    setItems(Object[]) Method (PdfJsField)
    In This Topic
    Sets the list of items for a combo box or a list box.
    Syntax
    'Declaration
    
    Public Sub setItems( _
    ByVal oArray
    An array in which each element is either an object convertible to a string or another array:
    • For an element that can be converted to a string, the user and export values for the list item are equal to the string.
    • For an element that is an array, the array must have two subelements convertible to strings, where the first is the user value and the second is the export value.
    () As System.Object _
    )
    public void setItems(
    System.Object[] oArray
    )
    public: void setItems(
    System.Object[]* oArray
    )
    public:
    void setItems(
    array<System.Object>^ oArray
    )

    Parameters

    oArray
    An array in which each element is either an object convertible to a string or another array:
    • For an element that can be converted to a string, the user and export values for the list item are equal to the string.
    • For an element that is an array, the array must have two subelements convertible to strings, where the first is the user value and the second is the export value.
    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