LEADTOOLS Image File Support (Leadtools.Codecs assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
CodecsCodecLoadMode Enumeration
See Also  
Leadtools.Codecs Namespace : CodecsCodecLoadMode Enumeration



The handling mode for a file codec.

Syntax

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

Members

MemberDescription
DynamicThe codec is dynamically loaded and freed as necessary.
FixedThe codec is loaded into memory and will never be unloaded. (This makes the file handling very fast).
IgnoredThe 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: Silverlight, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)

See Also