ComponentOne PdfViewer for WPF and Silverlight
C1.WPF.PdfViewer.4.6.2 Assembly / CSJ2K.j2k.codestream.writer Namespace / HeaderEncoder Class
Fields Properties Methods


In This Topic
    HeaderEncoder Class Members
    In This Topic

    The following tables list the members exposed by HeaderEncoder.

    Public Constructors
     NameDescription
    Public ConstructorInitializes the header writer with the references to the coding chain.  
    Top
    Public Fields
     NameDescription
    Public FieldThe prefix for the header encoder options: 'H'  
    Top
    Public Properties
     NameDescription
    Public PropertyReturns the length of the header.  
    Public Propertystatic (Shared in Visual Basic)Returns the parameters that are used in this class and implementing classes. It returns a 2D String array. Each of the 1D arrays is for a different option, and they have 3 elements. The first element is the option name, the second one is the synopsis, the third one is a long description of what the parameter is and the fourth is its default value. The synopsis or description may be 'null', in which case it is assumed that there is no synopsis or description of the option, respectively. Null may be returned if no options are supported.  
    Top
    Public Methods
     NameDescription
    Public MethodWrite main header. JJ2000 main header corresponds to the following sequence of marker segments:
    1. SOC
    2. SIZ
    3. COD
    4. COC (if needed)
    5. QCD
    6. QCC (if needed)
    7. POC (if needed)
     
    Public MethodWrites tile-part header. JJ2000 tile-part header corresponds to the following sequence of marker segments:
    1. SOT
    2. COD (if needed)
    3. COC (if needed)
    4. QCD (if needed)
    5. QCC (if needed)
    6. RGN (if needed)
    7. POC (if needed)
    8. SOD
     
    Public MethodResets the contents of this HeaderEncoder to its initial state. It erases all the data in the header buffer and reactualizes the headerLength field of the bit stream writer.  
    Public MethodOverloaded. Writes the header to the specified BinaryDataOutput.  
    Top
    See Also