ILanerResultsBox.LoadFromStream

Fore Syntax

LoadFromStream(Stream: IIOStream);

Fore.NET Syntax

LoadFromStream(Stream: System.IO.Stream);

Parameters

Stream. Data stream from which the parameters should be loaded.

Description

The LoadFromStream method loads display parameters of the LanerResultsBox component from a stream.

Fore Example

Executing the example requires a form, a button with the Button1 name located on this form, the LanerBox component, the LanerResultsBox component with the LanerResultsBox1 name and the UiErAnalyzer component used as a data source for LanerBox and LanerResultsBox. Workbook of the time series database must be loaded to UiErAnalyzer1. Also, the pStream data stream is required, containing display parameters of the LanerResultsBox1 component.

This example is executed on clicking the button.

Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);
Var
    pStream: IIOStream;
Begin
    pStream.Position := 0;
    LanerResultsBox1.LoadFromStream(pStream);
    Dispose pStream;
End Sub Button1OnClick;

After executing this example display parameters of the LanerResultsBox component are loaded from the pStream data stream.

See also:

ILanerResultsBox