RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TWriter.Position Property

Represents the current writing position in the associated stream.

Pascal
property Position: Longint;
C++
__property Longint Position;

Position is used internally by writer objects to indicate the current writing position in the stream. 

The value of Position will be inside the most recent buffer block read or the next block to be written. Thus, for writing, Position will generally be less than the stream's Position. When Position is set to a location outside the current buffer, the writer's buffer is flushed to the stream. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!