DocumentImage.getPixels Method

Module: DocumentImage

Definition

Gets a pointer to the image pixels.

Warning

This method is unsafe! The user must handle the pixels pointer carefully.

public IntPtr GetPixels()

Returns

IntPtr
Pointer to the image pixels.

Exceptions

An error has occurred during Document Library execution.
int id3DocumentImage_GetPixels (
    ID3_DOCUMENT_IMAGE hDocumentImage,
    void ** pixels)

Parameters

hDocumentImage ID3_DOCUMENT_IMAGE
in Handle to the DocumentImage object.

pixels void **
out Pointer to the image pixels.

Returns

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