IGxIcon.SaveToStream

Fore Syntax

SaveToStream(Stream: IIOStream);

Fore.NET Syntax

SaveToStream(Stream: System.IO.Stream);

Parameters

Stream. The stream, which is used for saving.

Description

The SaveToStream method saves the icon to stream.

Fore Example

Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);
Var
    Icon: IGxIcon;
    Stream: IIOStream;
Begin
    Icon := Self.Icon;
    Icon.SaveToStream(Stream);
End Sub Button1OnClick;

After executing the example clicking the button saves the form icon to the Stream stream.

See also:

IGxIcon