ComponentOne PdfViewer for WPF and Silverlight
C1.WPF.PdfViewer.4.6.2 Assembly / CSJ2K.j2k.util Namespace / ISRandomAccessIO Class / seek Method
The offset where to move to.

In This Topic
    seek Method (ISRandomAccessIO)
    In This Topic
    Moves the current position for the next read operation to offset. The offset is measured from the beginning of the stream. If the offset is set beyond the currently cached data, the missing data will be read only when a read operation is performed. Setting the offset beyond the end of the data will cause an EOFException only if the data length is currently known, otherwise an IOException will occur when a read operation is attempted at that position.
    Syntax
    'Declaration
     
    
    Public Overridable Sub seek( _
       ByVal off As Integer _
    ) 
    public virtual void seek( 
       int off
    )

    Parameters

    off
    The offset where to move to.
    Exceptions
    ExceptionDescription
    If seeking beyond EOF and the data length is known.
    If an I/O error ocurred.
    See Also