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

TStreamAdapter.SetSize

Set the stream size

Declaration

Source position: classesh.inc line 960

public function TStreamAdapter.SetSize(

  libNewSize: Largeint

):HRESULT; virtual;

Description

SetSize implements IStream.Setsize by setting the size of the stream specified at creation.

Errors

This function must be overridden and will raise a runerror 217 when called directly.

See also

IStream.Setsize

The latest version of this document can be found at lazarus-ccr.sourceforge.net.