GetImageListItemFormatDesc

Image handling

Description

Returns a string containing the format details of the specified image in the image list.

Syntax

Delphi

Function TPDFlib.GetImageListItemFormatDesc(ImageListID, ImageIndex, Options: Integer): WideString;

ActiveX

Function PDFlib::GetImageListItemFormatDesc(ImageListID As Long, ImageIndex As Long, Options As Long) As String

DLL

const wchar_t* DLGetImageListItemFormatDesc(int InstanceID, int ImageListID, int ImageIndex, int Options);
const char* DLGetImageListItemFormatDescA(int InstanceID, int ImageListID, int ImageIndex, int Options);

Parameters

ImageListIDA value returned by the GetPageImageList function
ImageIndexThe index of the image in the list. The first image has an index of 1.
Options0 = Key/value pair 1 = Textual description

Return values

Returns a string describing the image format of the specified image list item. Returns an empty string when ImageListID does not reference a valid image list.