FlexReport for .NET | ComponentOne
C1.WPF.Document.4.6.2 Assembly / GrapeCity.Documents.Imaging.jpeg.jj2000.j2k.image Namespace / DataBlk Class / setData Method
The new data array to use

In This Topic
    setData Method (DataBlk)
    In This Topic
    Sets the data array to the specified one. The type of the specified data array must match the one returned by getDataType (e.g., for TYPE_INT, it should be a int[]). If the wrong type of array is given a System.Exception will be thrown.

    The size of the array is not necessarily checked for consistency with w and h or any other fields.

    Each implementing class should provide a type specific equivalent method (e.g., setDataInt() in GrapeCity.Documents.Imaging.jpeg.jj2000.j2k.image.DataBlkInt) which takes an array of the correct type explicitly and not through an System.Object.

    Syntax
    'Declaration
     
    Public MustOverride Sub setData( _
       ByVal arr As Object _
    ) 
    public abstract void setData( 
       object arr
    )

    Parameters

    arr
    The new data array to use
    See Also