LEADTOOLS Image File Support (Leadtools.Codecs assembly)

CodecsCodecLoadMode Enumeration

Show in webframe







The handling mode for a file codec.
Syntax
public enum CodecsCodecLoadMode : System.Enum, System.IComparableSystem.IConvertibleSystem.IFormattable  
'Declaration
 
Public Enum CodecsCodecLoadMode 
   Inherits System.Enum
   Implements System.IComparableSystem.IConvertibleSystem.IFormattable 
'Usage
 
Dim instance As CodecsCodecLoadMode
public enum CodecsCodecLoadMode : System.IComparableSystem.IConvertibleSystem.IFormattable  

            
public enum CodecsCodecLoadMode
Leadtools.Codecs.CodecsCodecLoadMode = function() { };
Leadtools.Codecs.CodecsCodecLoadMode.prototype = {
Dynamic = 0x00000000, Fixed = 0x00000001, Ignored = 0x00000002, };
public enum class CodecsCodecLoadMode : public System.Enum, System.IComparableSystem.IConvertibleSystem.IFormattable  
Members
ValueMemberDescription
0x00000000DynamicThe codec is dynamically loaded and freed as necessary.
0x00000001FixedThe codec is loaded into memory and will never be unloaded. (This makes the file handling very fast).
0x00000002IgnoredThe 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.
Inheritance Hierarchy

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

Requirements

Target Platforms

See Also

Reference

Leadtools.Codecs Namespace

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.