ComponentOne PdfViewer for WPF and Silverlight
C1.WPF.PdfViewer.4.6.2 Assembly / CSJ2K.j2k.wavelet Namespace / WTDecompSpec Class / setMainCompDefDecompType Method
The component index
The decomposition type. If negative then the main default is used.
The number of levels. If negative then the main defaul is used.

In This Topic
    setMainCompDefDecompType Method
    In This Topic
    Sets the "component main default" decomposition type and number of levels for the specified component. Both 'dec' and 'lev' can not be negative at the same time.
    Syntax
    'Declaration
     
    
    Public Overridable Sub setMainCompDefDecompType( _
       ByVal n As Integer, _
       ByVal dec As Integer, _
       ByVal lev As Integer _
    ) 
    public virtual void setMainCompDefDecompType( 
       int n,
       int dec,
       int lev
    )

    Parameters

    n
    The component index
    dec
    The decomposition type. If negative then the main default is used.
    lev
    The number of levels. If negative then the main defaul is used.
    See Also