ComponentOne PdfViewer for WPF and Silverlight
C1.WPF.PdfViewer.4.6.2 Assembly / CSJ2K.j2k.image.forwcomptransf Namespace / ForwCompTransf Class / calcMixedBitDepths Method
The bitdepth of each non-transformed components.
The type ID of the component transformation.
If not null the results are stored in this array, otherwise a new array is allocated and returned.

In This Topic
    calcMixedBitDepths Method (ForwCompTransf)
    In This Topic
    Calculates the bitdepths of the transformed components, given the bitdepth of the un-transformed components and the component transformation type.
    Syntax
    'Declaration
     
    
    Public Shared Function calcMixedBitDepths( _
       ByVal ntdepth() As Integer, _
       ByVal ttype As Integer, _
       ByVal tdepth() As Integer _
    ) As Integer()
    public static int[] calcMixedBitDepths( 
       int[] ntdepth,
       int ttype,
       int[] tdepth
    )

    Parameters

    ntdepth
    The bitdepth of each non-transformed components.
    ttype
    The type ID of the component transformation.
    tdepth
    If not null the results are stored in this array, otherwise a new array is allocated and returned.

    Return Value

    The bitdepth of each transformed component.
    See Also