RAD Studio VCL Reference
TWriter.Position Property

Represents the current writing position in the associated stream.

property Position: Longint;
__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) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!