Document Solutions for PDF
GrapeCity.Documents.Pdf Assembly / GrapeCity.Documents.Pdf.Spec Namespace / IPdfArrayExt Class / SetOrAdd Method
The current IPdfArray.
The value index.
The value to set.

In This Topic
    SetOrAdd Method
    In This Topic
    Sets the value at the specified index, adds null elements if index is too big.
    Syntax
    'Declaration
     
    Public Shared Sub SetOrAdd( _
       ByVal array As IPdfArray, _
       ByVal index As System.Integer, _
       ByVal item As IPdfObject _
    ) 
    public static void SetOrAdd( 
       IPdfArray array,
       System.int index,
       IPdfObject item
    )

    Parameters

    array
    The current IPdfArray.
    index
    The value index.
    item
    The value to set.
    See Also