ComponentOne PdfViewer for WPF and Silverlight
C1.WPF.PdfViewer.4.6.2 Assembly / CSJ2K.j2k.entropy Namespace / CBlkSizeSpec Class / getCBlkHeight Method
The type of the value we want to be returned
The tile index
the component index

In This Topic
    getCBlkHeight Method (CBlkSizeSpec)
    In This Topic
    Returns the code-block height:
    • for the specified tile/component
    • for the specified tile
    • for the specified component
    • default value
    The value returned depends on the value of the variable 'type' which can take the following values :
    • SPEC_DEF -> Default value is returned. t and c values are ignored
    • SPEC_COMP_DEF -> Component default value is returned. t value is ignored
    • SPEC_TILE_DEF -> Tile default value is returned. c value is ignored
    • SPEC_TILE_COMP -> Tile/Component value is returned.
    Syntax
    'Declaration
     
    
    Public Overridable Function getCBlkHeight( _
       ByVal type As Byte, _
       ByVal t As Integer, _
       ByVal c As Integer _
    ) As Integer
    public virtual int getCBlkHeight( 
       byte type,
       int t,
       int c
    )

    Parameters

    type
    The type of the value we want to be returned
    t
    The tile index
    c
    the component index

    Return Value

    The code-block height for the specified tile and component
    See Also