VintaSoft Twain .NET SDK 15.0: Documentation for .NET developer
Vintasoft.Data Namespace / HttpStreamingStream Class / Seek(Int64,SeekOrigin) Method
Syntax Requirements SeeAlso
In This Topic
    Seek(Int64,SeekOrigin) Method (HttpStreamingStream)
    In This Topic
    Sets the position within the current stream.
    Syntax
    'Declaration
    
    Public Overrides Function Seek( _
    ByVal offset
    A byte offset relative to origin.
    As Long, _
    ByVal origin
    A value of type System.IO.SeekOrigin indicating the reference point from which to obtain the new position.
    As System.IO.SeekOrigin _
    ) As Long
    public override long Seek(
    long offset,
    System.IO.SeekOrigin origin
    )
    public: long Seek(
    long offset,
    System.IO.SeekOrigin origin
    ); override
    public:
    long Seek(
    long offset,
    System.IO.SeekOrigin origin
    ); override

    Parameters

    offset
    A byte offset relative to origin.
    origin
    A value of type System.IO.SeekOrigin indicating the reference point from which to obtain the new position.

    Return Value

    The new position within the current buffered stream.
    Requirements

    Target Platforms: .NET 8, .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    See Also