[Overview][Constants][Types][Classes][Procedures and functions][Variables] | Reference for unit 'Classes' (#fcl)

# TStream.Size

The current size of the stream.

## Declaration

`public property TStream.Size: LongInt read GetSize write SetSize;`

## Description

Size can be read to determine the stream size or to set the stream size.

Remark: | Not all descendents of TStream support getting or setting the stream size; they may raise an exception if the Size property is read or set.

## See also

TStream.Position |  | The current position in the stream.
TStream.Seek |  | Sets the current position in the stream