Hide navigation sidebar
Hide table of contents sidebar
Skip to content
Back to top
Toggle table of contents sidebar

# DocumentImage.data Property

Module: DocumentImage

Type: byte[]

## Definition

Raw data buffer of the image.

Python

    data: bytearray

Exceptions

> DocumentException
> An error has occurred during Document Library execution.

Dart

    int get data => getData();

Exceptions

> DocumentException
> An error has occurred during Document Library execution.

C#

    public byte[] data
    {
        get => Getdata();
    }

Exceptions

> DocumentException
> An error has occurred during Document Library execution.

Java

    public byte[] getData() throws DocumentException

Exceptions

> DocumentException
> An error has occurred during Document Library execution.

Swift

    public var data: UInt8
        get {
            return try! getData()
        }
    }

Exceptions

> DocumentException
> An error has occurred during Document Library execution.

C

    int id3DocumentImage_GetData (ID3_DOCUMENT_IMAGE hDocumentImage, unsigned char * data, int * dataSize)

Returns

> `int`
> An error code.
> See id3DocumentError file for the list of possible error codes.