ComponentOne PdfViewer for WPF and Silverlight
C1.WPF.PdfViewer.4.6.2 Assembly / CSJ2K.j2k.image.input Namespace / ImgReader Class / getCompImgWidth Method
The index of the component, from 0 to C-1.

In This Topic
    getCompImgWidth Method (ImgReader)
    In This Topic
    Returns the width in pixels of the specified component in the overall image. This default implementation assumes no component, or component, subsampling (i.e. all components have the same dimensions in pixels).
    Syntax
    'Declaration
     
    
    Public Overridable Function getCompImgWidth( _
       ByVal c As Integer _
    ) As Integer
    public virtual int getCompImgWidth( 
       int c
    )

    Parameters

    c
    The index of the component, from 0 to C-1.

    Return Value

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