Icon Seek Method

function Seek(const Offset: Integer; Origin: TStreamOrigin):
      Integer

Available In: Server Applications

Use this method to move the stream's current position to the specified offset, relative to the specified origin.

Information For memory streams, specifying parameters that result in an invalid position in the stream will cause an exception to be raised.
Image