Leadtools.Codecs Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.12.17
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 
Managed Extensions for C++ 
__value public enum CodecsCodecLoadMode : public 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 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 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also