DAGetImageDataToVariant

Image handling, Direct access functionality

Description

Returns the image data of an image in an image list as a byte array variant.

The format of the data depends on the type of the image.

The DAGetImageIntProperty function can be used to determine the image type.

Syntax

Parameters

FileHandle

A handle returned by the DAOpenFile, DAOpenFileReadOnly or

DAOpenFromStream functions

ImageListID

A value returned by the DAGetPageImageList function

ImageIndex

The index of the image. The first image in the list has an index of 1. Use the DAGetImageListCount function to determine the number of images in the list.