ImageGear .NET v25.1 - Updated
Seek Method




ImageGear.Core Assembly > ImageGear.Formats Namespace > ImGearWebStream Class : Seek Method
The point relative to origin from which to begin seeking.
Specifies the beginning, the end, or the current position as a reference point for origin, using a value of type SeekOrigin.
When overridden in a derived class, sets the position within the current stream.
Syntax
'Declaration
 
Public Overrides Function Seek( _
   ByVal offset As Long, _
   ByVal origin As SeekOrigin _
) As Long
'Usage
 
Dim instance As ImGearWebStream
Dim offset As Long
Dim origin As SeekOrigin
Dim value As Long
 
value = instance.Seek(offset, origin)
public override long Seek( 
   long offset,
   SeekOrigin origin
)
public: long Seek( 
   long offset,
   SeekOrigin origin
) override 
public:
int64 Seek( 
   int64 offset,
   SeekOrigin origin
) override 

Parameters

offset
The point relative to origin from which to begin seeking.
origin
Specifies the beginning, the end, or the current position as a reference point for origin, using a value of type SeekOrigin.

Return Value

Integer value.
See Also

Reference

ImGearWebStream Class
ImGearWebStream Members