DAReleaseImageList

Image handling, Direct access functionality, Page properties

Description

Releases the specified image list including all the image data extracted from the images in the list. Releasing the image list does not affect the original images.

Syntax

Delphi

function TPDFlib.DAReleaseImageList(FileHandle, ImageListID: Integer): Integer;

ActiveX

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

DLL

int DLDAReleaseImageList(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

0The image list could not be released. The ImageListID parameter might be invalid or does not refer to an image list within the specified document.
1The image list was released successfully.