Debenu Quick PDF logo

DAGetPageImageList

Image handling, Direct access functionality, Page properties

Description

This function finds all the images on the selected page and returns an ImageListID that can be used with the DAGetImageListCount, DAGetImageListItemIntProperty, DAGetImageListItemDblProperty, DAGetImageListItemDataToString, DAGetImageListItemDataToVariant and DASaveImageListItemDataToFile functions.

As of version 10.13 will include Inline images but the ImageID will be 0 for any inline image which means that any inline images cannot used with ReplaceImage or ClearImage functions.

Syntax

Delphi

function TDebenuPDFLibrary1811.DAGetPageImageList(FileHandle, 
  PageRef: Integer): Integer;

ActiveX

Function DebenuPDFLibrary1811.PDFLibrary::DAGetPageImageList(FileHandle As Long,
  PageRef As Long) As Long

DLL

int DPLDAGetPageImageList(int InstanceID, int FileHandle, int PageRef)

Parameters

FileHandle A handle returned by the DAOpenFile, DAOpenFileReadOnly or DAOpenFromStream functions
PageRef A page reference returned by the DAFindPage function

Return values

0 The FileHandle or PageRef parameters were invalid
Non-zero An ImageListID value that can be used with the other direct access image list functions

Copyright © 2020 Debenu. All rights reserved. AboutContactBlogNewsletterSupport