You are here: dtSearch.Engine > dtSearch::Engine::ExtractionOptionsFlags Enumeration
dtSearch::Engine::ExtractionOptionsFlags Enumeration
Close
dtSearch Engine API for .NET Framework 2.x-4.x
dtSearch::Engine::ExtractionOptionsFlags Enumeration

Flags to control the extraction of attachments and images using FileConverter (.NET, Java) or dtsFileConvertJob2 (C++).

Syntax
Members
Description
dtsExoExtractImages = 0x0001
Extract embedded images in the input and insert a reference to the extracted image in the conversion output
dtsExoExtractAttachments = 0x0002
Extract embedded attachments in the input and insert a reference to the extracted attachment in the conversion output (dtsExoExtractAttachments should not be used when highlighting hits because in some cases text is added to the conversion output to provide a location for the link to the extracted attachment).
dtsExoDoNotConvertAttachments = 0x0004
Omit attachments from the conversion output (dtsExoDoNotConvertAttachments should not be used when highlighting hits because the indexer does convert attachments to text).
dtsExoLimitExtensions = 0x0008
Limit the filename extensions for extracted images and attachments to those listed in allowedExtensions.
dtsExoMarkAsInternetZone = 0x0010
If true, on NTFS file systems, all extracted images and attachments will be marked as originating in the "Internet" Zone. This enables various safety mechanisms in Microsoft Windows and Microsoft Office products to guard against opening unsafe attachments when you try to launch marked files. To mark the files, dtSearch adds an alternate stream to the output file named Zone.Identifier with the content "[ZoneTransfer]rnZoneId=3rn"
dtsExoUseSimpleFilenames = 0x0040
Limit filenames to use the Ansi character set and a maximum length of 64 characters for the filename component

When highlighting hits, flags should be consistent with the behavior of the indexer or hit highlighting will be inconsistent. 

dtsExoExtractAttachments should not be used when highlighting hits because in some cases text is added to the conversion output to provide a location for the link to the extracted attachment. 

dtsExoDoNotConvertAttachments should not be used when highlighting hits because the indexer does convert attachments to text. 

dtsExoExtractImages can be used when highlighting hits.

Copyright (c) 1998-2018 dtSearch Corp. All rights reserved.