Debenu Quick PDF logo

SetFindImagesMode

Image handling, Document management, Page properties

Version history

This function was introduced in Quick PDF Library version 7.22.

Description

Sets the search mode used by the FindImages function.

The default search mode runs a recursive search in the resources of all the pages and annotations in the document. This is the fastest method and requires the least amount of memory, however unused images will not be found.

The full search mode examines each object in the document. This takes more time and requires more memory, however all images will be located even if they are not used by any of the pages or annotations in the document.

Syntax

Delphi

function TDebenuPDFLibrary1511.SetFindImagesMode(
  NewFindImagesMode: Integer): Integer;

ActiveX

Function DebenuPDFLibrary1511.PDFLibrary::SetFindImagesMode(
  NewFindImagesMode As Long) As Long

DLL

int DPLSetFindImagesMode(int InstanceID, int NewFindImagesMode)

Parameters

NewFindImagesMode 1 = Default search mode
2 = Full search mode
3 = Default search mode, full convert
4 = Full search mode, full convert

Return values

0 An invalid value for the NewFindImagesMode parameter was used
1 The search mode was changed successfully

Copyright © 2014 Debenu. All rights reserved. AboutContactBlogNewsletterSupport