ComponentOne PdfViewer for WPF and Silverlight
C1.WPF.PdfViewer.4.6.2 Assembly / CSJ2K.j2k.image Namespace / DataBlk Class / Data Property

In This Topic
    Data Property (DataBlk)
    In This Topic
    Returns the array containing the data, or null if there is no data. The returned array is of the type returned by getDataType() (e.g., for TYPE_INT, it is a int[]).

    Each implementing class should provide a type specific equivalent method (e.g., getDataInt() in DataBlkInt) which returns an array of the correct type explicetely and not through an Object.

    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 ClassCastException 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 DataBlkInt) which takes an array of the correct type explicetely and not through an Object.

    Syntax
    'Declaration
     
    
    Public MustOverride Property Data As Object
    public abstract object Data {get; set;}

    Property Value

    The array containing the data, or null if there is no data.
    See Also