ComponentOne PdfViewer for WPF and Silverlight
C1.WPF.PdfViewer.4.6.2 Assembly / CSJ2K.j2k.image.input Namespace / ImgReader Class
Properties Methods


In This Topic
    ImgReader Class Members
    In This Topic

    The following tables list the members exposed by ImgReader.

    Public Properties
     NameDescription
    Public PropertyReturns the overall height of the image in pixels. This is the image's height without accounting for any component subsampling or tiling. The value of h is returned.  
    Public PropertyReturns the horizontal coordinate of the image origin, the top-left corner, in the canvas system, on the reference grid.  
    Public PropertyReturns the vertical coordinate of the image origin, the top-left corner, in the canvas system, on the reference grid.  
    Public PropertyReturns the overall width of the image in pixels. This is the image's width without accounting for any component subsampling or tiling. The value of w is returned.  
    Public PropertyReturns the nominal tiles height  
    Public PropertyReturns the nominal tiles width  
    Public PropertyReturns the number of components in the image. The value of nc is returned.  
    Public PropertyReturns the overall height of the current tile in pixels, assuming there is no-tiling. Since no-tiling is assumed this is the same as the width of the image. The value of h is returned.  
    Public PropertyReturns the index of the current tile, relative to a standard scan-line order. This default implementations assumes no tiling, so 0 is always returned.  
    Public PropertyReturns the horizontal tile partition offset in the reference grid  
    Public PropertyReturns the vertical tile partition offset in the reference grid  
    Public PropertyReturns the width of the current tile in pixels, assuming there is no-tiling. Since no-tiling is assumed this is the same as the width of the image. The value of w is returned.  
    Top
    Public Methods
     NameDescription
    Public MethodCloses the underlying file or network connection from where the image data is being read.  
    Public Method  
    Public MethodReturns the height 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).  
    Public MethodReturns 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).  
    Public MethodReturns 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.  
    Public MethodReturns the component subsampling factor in the vertical 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.  
    Public MethodReturns the horizontal coordinate of the upper-left corner of the specified component in the current tile.  
    Public MethodReturns the vertical coordinate of the upper-left corner of the specified component in the current tile.  
    Public Method  
    Public Method  
    Public Method  
    Public MethodOverloaded. Returns the number of tiles in the horizontal and vertical directions. This default implementation assumes no tiling, so (1,1) is always returned.  
    Public MethodReturns the coordinates of the current tile. This default implementation assumes no-tiling, so (0,0) is returned.  
    Public MethodReturns the height in pixels of the specified tile-component. This default implementation assumes no tiling and no component subsampling (i.e., all components, or components, have the same dimensions in pixels).  
    Public MethodReturns the width in pixels of the specified tile-component. This default implementation assumes no tiling and no component subsampling (i.e., all components, or components, have the same dimensions in pixels).  
    Public MethodReturns true if the data read was originally signed in the specified component, false if not.  
    Public MethodAdvances to the next tile, in standard scan-line order (by rows then columns). A NoNextElementException is thrown if the current tile is the last one (i.e. there is no next tile). This default implementation assumes no tiling, so NoNextElementException() is always thrown.  
    Public MethodChanges the current tile, given the new coordinates. An IllegalArgumentException is thrown if the coordinates do not correspond to a valid tile. This default implementation assumes no tiling so the only valid arguments are x=0, y=0.  
    Top
    See Also