ComponentOne PdfViewer for WPF and Silverlight
C1.WPF.PdfViewer.4.6.2 Assembly / CSJ2K.j2k.codestream.reader Namespace / BitstreamReaderAgent Class / getCompSubsX Method
The index of the component (between 0 and N-1)

In This Topic
    getCompSubsX Method (BitstreamReaderAgent)
    In This Topic
    Returns the component subsampling factor in the horizontal direction, for the specified component. This is, approximately, the ratio of dimensions between the reference grid and the component itself, see the 'ImgData' interface desription for details.
    Syntax
    'Declaration
     
    
    Public Function getCompSubsX( _
       ByVal c As Integer _
    ) As Integer
    public int getCompSubsX( 
       int c
    )

    Parameters

    c
    The index of the component (between 0 and N-1)

    Return Value

    The horizontal subsampling factor of component 'c'
    See Also