ComponentOne PdfViewer for WPF and Silverlight
C1.WPF.PdfViewer.4.6.2 Assembly / CSJ2K.j2k.codestream.reader Namespace / BitstreamReaderAgent Class / getCompImgHeight Method
The index of the component, from 0 to N-1.
The resolution level, from 0 to L.

In This Topic
    getCompImgHeight Method (BitstreamReaderAgent)
    In This Topic
    Returns the height in pixels of the specified component in the overall image, for the given (component) resolution level.

    Note: Component resolution level indexes may differ from tile-component resolution index. They are indeed indexed starting from the lowest number of decomposition levels of same component of each tile.

    Example: For an image (2 tiles) with 1 component (tile 0 having 2 decomposition levels and tile 1 having 3 decomposition levels), the first tile(-component) has 3 resolution levels and the second one has 4 resolution levels, whereas the component has only 3 resolution levels available.

    Syntax
    'Declaration
     
    
    Public Function getCompImgHeight( _
       ByVal c As Integer, _
       ByVal rl As Integer _
    ) As Integer
    public int getCompImgHeight( 
       int c,
       int rl
    )

    Parameters

    c
    The index of the component, from 0 to N-1.
    rl
    The resolution level, from 0 to L.

    Return Value

    The height in pixels of component c in the overall image.
    See Also