ILanerResultsBox.SaveToStream

Syntax

SaveToStream(Stream: IIOStream);

Parameters

Stream: Data stream to which the parameters are to be saved.

Description

The SaveToStream method saves display parameters of the LanerResultsBox component to a stream.

Example

Executing the example requires a form, a button named Button1 on the form, the LanerBox component, the LanerResultsBox component named LanerResultsBox1 and the UiErAnalyzer component used as a data source for LanerBox and LanerResultsBox. A workbook of the time series database must be loaded to UiErAnalyzer1.

The example is executed on clicking the button.

Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);
Var
    pStream: IIOStream;
Begin
    pStream := 
New MemoryStream.Create;
    LanerResultsBox1.SaveToStream(pStream);
End Sub Button1OnClick;

After executing the example display parameters of the LanerResultsBox component are saved to the pStream data stream.

See also:

ILanerResultsBox