Class TOleStream (unit DataObject)

Inherits from

TStream

Delphi stream that uses IStream. It can be used for saving data to compond documents file

Constructors


constructor Create(oleStream:IStream);

////////////////////////////////////////////////////////////////////////////// /// TOleStream //////////////////////////////////////////////////////////////////////////////


Functions

procedure AssignTo(oleStream:IStream);


destructor Destroy;

release old stream, if any

function Read(var Buffer; Count: Longint): Longint;


function Seek(Offset: Longint; Origin: Word): Longint;


function Write(const Buffer; Count: Longint): Longint;


Properties

Events

Variables

fIStream : IStream;



Constructors


constructor Create(oleStream:IStream);

////////////////////////////////////////////////////////////////////////////// /// TOleStream //////////////////////////////////////////////////////////////////////////////


Functions


procedure AssignTo(oleStream:IStream);


destructor Destroy;

release old stream, if any


function Read(var Buffer; Count: Longint): Longint;


function Seek(Offset: Longint; Origin: Word): Longint;


function Write(const Buffer; Count: Longint): Longint;


Properties


Events


Variables


fIStream : IStream;