SetFindImagesMode
Image handling, Document management, Page properties
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 TPDFlib.SetFindImagesMode(NewFindImagesMode: Integer): Integer;ActiveX
Function PDFlib::SetFindImagesMode(NewFindImagesMode As Long) As LongDLL
int DLSetFindImagesMode(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 |