ComponentOne PdfViewer for WPF and Silverlight
C1.WPF.PdfViewer.4.6.2 Assembly / CSJ2K.j2k.io Namespace / RandomAccessIO Interface / seek Method
The offset where to move to.

In This Topic
    seek Method (RandomAccessIO)
    In This Topic
    Moves the current position for the next read or write operation to offset. The offset is measured from the beginning of the stream. The offset may be set beyond the end of the file, if in write mode. Setting the offset beyond the end of the file does not change the file length. The file length will change only by writing after the offset has been set beyond the end of the file.
    Syntax
    'Declaration
     
    
    Sub seek( _
       ByVal off As Integer _
    ) 
    void seek( 
       int off
    )

    Parameters

    off
    The offset where to move to.
    Exceptions
    ExceptionDescription
    If in read-only and seeking beyond EOF.
    If an I/O error ocurred.
    See Also