You are here: Symbol Reference
> dtSearch.Engine Namespace
> ExtractionOptions Class
> ExtractionOptions Properties
> DefaultExtension Property
Close
dtSearch .NET Standard API 2021.02
ExtractionOptions.DefaultExtension Property

Extension to add to images and attachments when the dtsExoLimitExtensions flags is set and an image or attachment has an extension that is not listed in AllowedExtensions.

public string DefaultExtension;

The AllowedExtensions list controls which attachments and images can be extracted with the original filename extension preserved. Attachments and images with extensions that are not in the list will have the DefaultExtension appended to the output filename, effectively disabling the original extension. 

Do not include the "." in the extension.

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