SelectImage

Image handling, Page layout

Description

Select one of the images that have been added to the selected document with the AddImage* functions or an ImageID returned using GetImageListItemIntProperty with property 405.

Syntax

Delphi

function TPDFlib.SelectImage(ImageID: Integer): Integer;

ActiveX

Function PDFlib::SelectImage(ImageID As Long) As Long

DLL

int DLSelectImage(int InstanceID, int ImageID);

Parameters

ImageIDThe ID of the image to select

Return values

0The specified ID could not be found
1The image was selected successfully