ComponentOne PdfViewer for WPF and Silverlight
C1.WPF.PdfViewer.4.6.2 Assembly / CSJ2K.j2k.codestream.writer Namespace / TagTreeEncoder Class / encode Method
The vertical index of the element.
The horizontal index of the element.
The threshold to use for encoding. It must be non-negative.

In This Topic
    encode Method
    In This Topic
    Encodes information for the specified element of the tree, given the threshold and sends it to the 'out' stream. The information that is coded is whether or not the value of the element is greater than or equal to the value of the threshold.
    Syntax
    'Declaration
     
    
    Public Overridable Sub encode( _
       ByVal m As Integer, _
       ByVal n As Integer, _
       ByVal t As Integer, _
       ByVal out_Renamed As BitOutputBuffer _
    ) 
    public virtual void encode( 
       int m,
       int n,
       int t,
       BitOutputBuffer out_Renamed
    )

    Parameters

    m
    The vertical index of the element.
    n
    The horizontal index of the element.
    t
    The threshold to use for encoding. It must be non-negative.
    out_Renamed
    See Also