You are here: Symbol Reference > dtSearch.Engine Namespace > Structs, Records, Enums > ExtractionOptionsFlags Enumeration
Close
dtSearch .NET Standard API 2024.02
dtSearch.Engine.ExtractionOptionsFlags Enumeration

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

Members
Description
dtsExoExtractImages
Extract embedded images in the input and insert a reference to the extracted image in the conversion output
dtsExoExtractAttachments
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
Omit attachments from the conversion output (dtsExoDoNotConvertAttachments should not be used when highlighting hits because the indexer does convert attachments to text).
dtsExoLimitExtensions
Limit the filename extensions for extracted images and attachments to those listed in allowedExtensions.
dtsExoMarkAsInternetZone
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
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-2023 dtSearch Corp. All rights reserved.