VintaSoft Imaging .NET SDK 14.0: Documentation for .NET developer
Vintasoft.Imaging.Pdf.Tree.Annotations Namespace / PdfAnnotationList Class / Insert(Int32,PdfAnnotation) Method
Syntax Exceptions Requirements SeeAlso
In This Topic
    Insert(Int32,PdfAnnotation) Method (PdfAnnotationList)
    In This Topic
    Inserts an element into the PdfAnnotationList at the specified index.
    Syntax
    'Declaration
    
    Public Overrides Sub Insert( _
    ByVal index
    The zero-based index at which item should be inserted.
    As System.Int32, _
    ByVal item
    The object to insert. The value can be null for reference types.
    As PdfAnnotation _
    )
    public override void Insert(
    System.Int32 index,
    PdfAnnotation item
    )
    public: void Insert(
    System.Int32 index,
    PdfAnnotation* item
    ); override
    public:
    void Insert(
    System.Int32 index,
    PdfAnnotation^ item
    ); override

    Parameters

    index
    The zero-based index at which item should be inserted.
    item
    The object to insert. The value can be null for reference types.
    Exceptions
    ExceptionDescription
    index is less than 0.-or-index is greater than Count.
    item is null.
    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