ImageBuffer.getPixels Method

Module: ImageBuffer

Definition

Gets a pointer to the pixels of the image. Unsafe! The user must handle the pixels pointer carefully.

public IntPtr GetPixels()

Returns

IntPtr
Pointer to the pixels of the image.

Exceptions

An error has occurred during Document Library execution.
int id3DocumentImageBuffer_GetPixels (
    ID3_DOCUMENT_IMAGE_BUFFER hImageBuffer,
    void ** pixels)

Parameters

in Handle to the ImageBuffer object.

pixels void **
out Pointer to the pixels of the image.

Returns

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