DicomObjects.NET10 Documentation
DicomObjects.DicomCodecs Namespace / CodecGlobal Class / AddCodec Method / AddCodec(String) Method
Filename as string, the full path of the codec file to load.



In This Topic
    AddCodec(String) Method
    In This Topic

    Finds all codec factories in the assembly by finding classes which are derived from the DicomObjects.Codecs.CodecFactory abstract class.

    Once the factories have been identified, their supported combinations of formats/transfer syntaxes and operations are indexed for future use

    Syntax
    'Declaration
     
    
    Public Overloads Shared Sub AddCodec( _
       ByVal AsemblyFilename As String _
    ) 
    'Usage
     
    
    Dim AsemblyFilename As String
     
    CodecGlobal.AddCodec(AsemblyFilename)
    public static void AddCodec( 
       string AsemblyFilename
    )
    public:
    static void AddCodec( 
       String^ AsemblyFilename
    ) 

    Parameters

    AsemblyFilename
    Filename as string, the full path of the codec file to load.
    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