←Select platform

Seek Method (LeadBufferStream)

Summary

Sets the current position of this LeadBufferStream object to the specified value.

Syntax

C#
VB
Java
Objective-C
WinRT C#
C++
public long Seek(  
   Leadtools.LeadSeekOrigin origin, 
   long offset 
) 
Public Function Seek( _ 
   ByVal origin As Leadtools.LeadSeekOrigin, _ 
   ByVal offset As Long _ 
) As Long 
public long Seek(  
   Leadtools.LeadSeekOrigin origin, 
   long offset 
) 
-(ssize_t)seek:(LTLeadSeekOrigin)origin offset:(ssize_t)offset; 
public long seek(LeadSeekOrigin origin, long offset) 
 function Leadtools.LeadBufferStream.Seek(  
   origin , 
   offset  
) 
public: 
int64 Seek(  
   Leadtools.LeadSeekOrigin origin, 
   int64 offset 
)  

Parameters

origin
Specifies the beginning, the end, or the current position as a reference point for origin, using a value of type LeadSeekOrigin.

offset
The point relative to origin from which to begin seeking.

Return Value

The new position in the stream

Remarks

Use the CanSeek property to determine whether the current instance supports reading.

Requirements

Target Platforms

Help Version 19.0.2017.10.19
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools Assembly