Leadtools.Codecs Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
CodecsCodecLoadMode Enumeration
See Also  
Leadtools.Codecs Namespace : CodecsCodecLoadMode Enumeration



The handling mode for a file codec.

Syntax

Visual Basic (Declaration) 
Public Enum CodecsCodecLoadMode 
   Inherits Enum
Visual Basic (Usage)Copy Code
Dim instance As CodecsCodecLoadMode
C# 
public enum CodecsCodecLoadMode : Enum 
C++/CLI 
public enum class CodecsCodecLoadMode : public Enum 

Members

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

Example

For an example, refer to RasterCodecs.GetCodecInformation.

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.

Inheritance Hierarchy

System.Object
   System.ValueType
      System.Enum
         Leadtools.Codecs.CodecsCodecLoadMode

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also