←Select platform

CodecsCodecLoadMode Enumeration

Summary

The handling mode for a file codec.

Syntax

C#
VB
Java
C++
public enum CodecsCodecLoadMode   
Public Enum CodecsCodecLoadMode  
    
    
public enum CodecsCodecLoadMode 
public enum class CodecsCodecLoadMode   

Members

ValueMemberDescription
0Dynamic The codec is dynamically loaded and freed as necessary.
1Fixed The codec is loaded into memory and will never be unloaded. (This makes the file handling very fast).
2Ignored The codec is ignored. You cannot load, save or get the file information for any files normally handled by this codec.
Remarks

LEADTOOLS maintains a list of codecs used for querying for the file information.

Fixed codecs are never unloaded from the list. This makes the file detection of file formats very fast.

Dynamic codecs are dynamically unloaded when the number of loaded codecs exceeds the number set through RasterCodecs.PreloadCodecs.

Ignored codecs will never be used. You cannot load, save or obtain information on file formats normally handled by a codec that is ignored.

Once you save or load a file handled by a certain codec, that codec will be permanently loaded into memory. From that point on, setting the codecs load mode has no effect.

Example

For an example, refer to RasterCodecs.GetCodecInformation.

Requirements

Target Platforms

See Also

Reference

Leadtools.Codecs Namespace

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Codecs Assembly