VintaSoft Imaging .NET SDK 14.0: Documentation for .NET developer
Vintasoft.Imaging.Pdf.JavaScriptApi Namespace / PdfJsField Class / getItemAt(Int32,Boolean) Method
Syntax Requirements SeeAlso
In This Topic
    getItemAt(Int32,Boolean) Method (PdfJsField)
    In This Topic
    Returns the item value of an item in a combo box or a list box.
    Syntax
    'Declaration
    
    Public Function getItemAt( _
    ByVal nIdx
    The zero-based index of the item in the list or -1 for the last item in the list.
    As System.Int32, _
    ByVal bExportValue
    A value indicating whether item's export value must be returned. This parameter is optional. Default value is true.
    As Boolean _
    ) As System.String
    public System.String getItemAt(
    System.Int32 nIdx,
    bool bExportValue
    )
    public: System.String getItemAt(
    System.Int32 nIdx,
    bool bExportValue
    )
    public:
    System.String getItemAt(
    System.Int32 nIdx,
    bool bExportValue
    )

    Parameters

    nIdx
    The zero-based index of the item in the list or -1 for the last item in the list.
    bExportValue
    A value indicating whether item's export value must be returned. This parameter is optional. Default value is true.

    Return Value

    The item name if bExportValue is set to false.
    The item name if bExportValue is set to true and item does not have export value.
    Item's export value if if bExportValue is set to true and item has 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