ComponentOne PdfViewer for WPF and Silverlight
C1.WPF.PdfViewer.4.6.2 Assembly / CSJ2K.j2k.codestream.reader Namespace / BitstreamReaderAgent Class / createInstance Method
Header of the codestream.
The parameter list containing parameters applicable to the bit stream read (other parameters may also be present).
The decoder specifications
Whether or not to print information found in codestream.
Reference to the HeaderInfo instance.

In This Topic
    createInstance Method (BitstreamReaderAgent)
    In This Topic
    Creates a bit stream reader of the correct type that works on the provided RandomAccessIO, with the special parameters from the parameter list.
    Syntax
    'Declaration
     
    
    Public Shared Function createInstance( _
       ByVal in_Renamed As RandomAccessIO, _
       ByVal hd As HeaderDecoder, _
       ByVal pl As ParameterList, _
       ByVal decSpec As DecoderSpecs, _
       ByVal cdstrInfo As Boolean, _
       ByVal hi As HeaderInfo _
    ) As BitstreamReaderAgent

    Parameters

    in_Renamed
    hd
    Header of the codestream.
    pl
    The parameter list containing parameters applicable to the bit stream read (other parameters may also be present).
    decSpec
    The decoder specifications
    cdstrInfo
    Whether or not to print information found in codestream.
    hi
    Reference to the HeaderInfo instance.
    Exceptions
    ExceptionDescription
    If an I/O error occurs while reading initial data from the bit stream.
    If an unrecognised bit stream reader option is present.
    See Also