ComponentOne PdfViewer for WPF and Silverlight
C1.WPF.PdfViewer.4.6.2 Assembly / CSJ2K.j2k.codestream.reader Namespace / HeaderDecoder Class / extractTilePartMarkSeg Method
The marker to process
The encoded header stream
The index of the current tile
The index of the current tile part

In This Topic
    extractTilePartMarkSeg Method
    In This Topic
    This method extracts a marker segment in a tile-part header and stores it into a byte buffer for the second pass. The marker is first recognized, then its flag is activated and, finally, its content is buffered in an element of byte arrays accessible thanks to a hashTable. If a marker segment is not recognized, it prints a warning and skip it according to its length.
    Syntax
    'Declaration
     
    
    Public Overridable Sub extractTilePartMarkSeg( _
       ByVal marker As Short, _
       ByVal ehs As RandomAccessIO, _
       ByVal tileIdx As Integer, _
       ByVal tilePartIdx As Integer _
    ) 
    public virtual void extractTilePartMarkSeg( 
       short marker,
       RandomAccessIO ehs,
       int tileIdx,
       int tilePartIdx
    )

    Parameters

    marker
    The marker to process
    ehs
    The encoded header stream
    tileIdx
    The index of the current tile
    tilePartIdx
    The index of the current tile part
    See Also