DAGetImageListCount

Image handling, Direct access functionality

Description

Returns the number of images in an image list.

Syntax

Delphi

Function TPDFlib.DAGetImageListCount(FileHandle, ImageListID: Integer): Integer;

ActiveX

Function PDFlib::DAGetImageListCount(FileHandle As Long, ImageListID As Long) As Long

DLL

int DLDAGetImageListCount(int InstanceID, int FileHandle, int ImageListID);

Parameters

FileHandleA handle returned by the DAOpenFile, DAOpenFileReadOnly or DAOpenFromStream functions
ImageListIDA value returned by the DAGetPageImageList function

Return values

Returns the number of images in the specified image list. Returns 0 when the file handle or image list is invalid.