Skip to content

TStreamAdapter.SetSize

Set the stream size

Declaration

Source position: classesh.inc line 1326

public 
  function SetSize(libNewSize: LargeUint) : HRESULT;  Virtual;

Description

SetSize implements #rtl.types.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

Name Description
#rtl.types.IStream.Setsize Set the stream size