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


In This Topic
    TagTreeEncoder Class Members
    In This Topic

    The following tables list the members exposed by TagTreeEncoder.

    Public Constructors
     NameDescription
    Public ConstructorOverloaded.   
    Top
    Public Properties
     NameDescription
    Public PropertyReturns the number of leafs along the vertical direction.  
    Public PropertySets the values of the leafs to the new set of values and updates the tag tree accordingly. No leaf can change its value if either the new or old value is smaller than largest threshold which has yet been supplied to 'encode()'. However such a leaf can keep its old value (i.e. new and old value must be identical.

    This method is more efficient than the setValue() method if a large proportion of the leafs change their value. Note that for leafs which don't have their value defined yet the value should be Integer.MAX_VALUE (which is the default initialization value).

     
    Public PropertyReturns the number of leafs along the horizontal direction.  
    Top
    Public Methods
     NameDescription
    Public MethodEncodes 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.  
    Public MethodOverloaded. Resets the tree values and state. All the values are set to Integer.MAX_VALUE and the states to 0.  
    Public MethodRestores the saved values and state of the tree. An IllegalArgumentException is thrown if the tree values and state have not been saved yet.  
    Public MethodSaves the current values and state of the tree. Calling restore() restores the tag tree the saved state.  
    Public MethodChanges the value of a leaf in the tag tree. The new and old values of the element must be not smaller than the largest threshold which has yet been supplied to 'encode()'.  
    Top
    See Also