GetImageID

Image handling

Description

Returns the ID of the specified image.

Syntax

Delphi

function TPDFlib.GetImageID(Index: Integer): Integer;

ActiveX

Function PDFlib::GetImageID(Index As Long) As Long

DLL

int DLGetImageID(int InstanceID, int Index);

Parameters

IndexThe index of the image. The first image has an index of 1.

Return values

0The index is out of bounds
Non-zeroThe ID of the specified image