LEADTOOLS Image File Support (Leadtools.Codecs assembly)
LEAD Technologies, Inc

IgnoreCodecs Method






A System.String containing which codecs should be ignored and therefore not loaded. Has the same format as in PreloadCodecs.
Specifies which file codecs LEADTOOLS should NEVER load, even if present. .NET support
Syntax
public void IgnoreCodecs( 
   string codecs
)
'Declaration
 
Public Sub IgnoreCodecs( _
   ByVal codecs As String _
) 
'Usage
 
Dim instance As RasterCodecs
Dim codecs As String
 
instance.IgnoreCodecs(codecs)
public void IgnoreCodecs( 
   string codecs
)
 function Leadtools.Codecs.RasterCodecs.IgnoreCodecs( 
   codecs 
)
public:
void IgnoreCodecs( 
   String^ codecs
) 

Parameters

codecs
A System.String containing which codecs should be ignored and therefore not loaded. Has the same format as in PreloadCodecs.
Remarks

Use this method if you never want to load a particular file codec(s). This is useful for instance if you never load AVI files and you want to ignore the AVI codec since this codec on its own loads all the DLLs required for Video for Windows (there are about 10 of them).

The files specified in PreloadCodecs take priority over the files specified in IgnoreCodecs. This means that if the codec is present in codecs for both methods, then the codec will be loaded and will not be ignored.

Before calling this method, you can get the default ignore codecs list using IgnoreCodecsList.

Example
For an example, refer to PreloadCodecs.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

RasterCodecs Class
RasterCodecs Members
Loading File Codecs
Fast File Info

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.