VintaSoft Imaging .NET SDK 14.0: Documentation for .NET developer
Vintasoft.Imaging.Pdf.BasicTypes Namespace / PdfArray Class / IndexOf(PdfBasicObject) Method
Syntax Requirements SeeAlso
In This Topic
    IndexOf(PdfBasicObject) Method (PdfArray)
    In This Topic
    Searches for the specified object and returns the zero-based index of the first occurrence within the entire PdfArray.
    Syntax
    'Declaration
    
    Public Function IndexOf( _
    ByVal item
    The item to locate in the PdfArray.
    As PdfBasicObject _
    ) As System.Int32
    public System.Int32 IndexOf(
    PdfBasicObject item
    )
    public: System.Int32 IndexOf(
    PdfBasicObject* item
    )
    public:
    System.Int32 IndexOf(
    PdfBasicObject^ item
    )

    Parameters

    item
    The item to locate in the PdfArray.

    Return Value

    The zero-based index of the first occurrence of item within the entire PdfArray, if found; otherwise, -1.
    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