Icon Seek Method

virtual int __fastcall Seek(int Offset, Word Origin)

Usage

Use Seek to move the current position within the BLOB field by the indicated offset. Seek allows an application to read from or write to a particular location within the BLOB field.

The Origin parameter indicates how to interpret the Offset parameter. Origin should be one of the following values:

OriginDescription
soFromBeginningOffset is from the beginning of the BLOB field. Seek moves to the position Offset. Offset must be >= 0.
soFromCurrentOffset is from the current position in the BLOB field. Seek moves to Position + Offset.
soFromEndOffset is from the end of the BLOB field. Offset must be <= 0 to indicate a number of bytes before the end of the BLOB.

Seek returns the new value of the Position property, the new current position in the BLOB field.
Image