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

In This Topic
    getCompSubsX Method (ImgDataAdapter)
    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.

    This default implementation returns the value of the source.

    Syntax
    'Declaration
     
    
    Public Overridable Function getCompSubsX( _
       ByVal c As Integer _
    ) As Integer
    public virtual 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