Leadtools.Codecs Namespace > RasterCodecs Class : IgnoreCodecs Method |
'Usage Dim instance As RasterCodecs Dim codecs As String instance.IgnoreCodecs(codecs)
public void ignoreCodecs(String codecs)
function Leadtools.Codecs.RasterCodecs.IgnoreCodecs( codecs )
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.