DAGetImageIntProperty

Image handling, Direct access functionality

Description

Returns certain properties of an image in an image list.

Syntax

Delphi

function TPDFlib.DAGetImageIntProperty(FileHandle, ImageListID, ImageIndex, PropertyID: Integer): Integer;

ActiveX

Function PDFlib::DAGetImageIntProperty(FileHandle As Long, ImageListID As Long, ImageIndex As Long, PropertyID As Long) As Long

DLL

int DLDAGetImageIntProperty(int InstanceID, int FileHandle, int ImageListID, int ImageIndex, int PropertyID);

Parameters

FileHandleA handle returned by the DAOpenFile, DAOpenFileReadOnly or DAOpenFromStream functions
ImageListIDA value returned by the DAGetPageImageList function
ImageIndexThe 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.
PropertyID400 = Image type (see ImageType) for values 401 = Width in pixels 402 = Height in pixels 403 = Bits per pixel 404 = Color space type 405 = Image ID (will be 0 if it is an Inline image)