API Reference > Other Classes > OdIdFiler Class > OdIdFiler Methods > OdIdFiler::seek Method
OdIdFiler::seek Method
Syntax
C++
void seek(OdInt64 offset, OdDb::FilerSeekType seekType);
Parameters 
Description 
OdInt64 offset 
[in] Number of bytes.  
OdDb::FilerSeekType seekType 
[in] Seek type. 

Moves the I/O pointer to the specified location in this Filer object. 

 

seekType must be one of the following: 

 

Name 
Value 
Description. 
OdDb::kSeekFromStart 
SEEK_SET 
Start of file. 
OdDb::kSeekFromCurrent 
SEEK_CUR 
Current position of I/O pointer. 
OdDb::kSeekFromEnd 
SEEK_END 
End of file. 
Copyright © 2002–2020. Open Design Alliance. All rights reserved.