DicomObjects.NET.V8
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 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: .NET CLR 3.5 or higher

    See Also