VirtualTerminalExtensions.Save Method
Namespace: Rebex.TerminalEmulation
Assembly: Rebex.Terminal.Control.dll (version 7.0.8944)
Save(VirtualTerminal, Stream, TerminalImageFormat, TerminalCaptureOptions, TerminalFont)
Saves the content of the terminal screen to the specified stream in the specified image format with the specified options.
Declaration
public static void Save(this VirtualTerminal terminal, Stream output, TerminalImageFormat format, TerminalCaptureOptions options, TerminalFont font = null)
Parameters
Type | Name | Description |
---|---|---|
VirtualTerminal | terminal | Virtual terminal. |
Stream | output | Output stream. |
TerminalImageFormat | format | Image format. |
TerminalCaptureOptions | options | Capture options. |
TerminalFont | font | Font (optional). |
Save(VirtualTerminal, String, TerminalImageFormat, TerminalCaptureOptions, TerminalFont)
Saves the content of the terminal screen to the specified file in the specified image format with the specified options.
Declaration
public static void Save(this VirtualTerminal terminal, string path, TerminalImageFormat format, TerminalCaptureOptions options, TerminalFont font = null)
Parameters
Type | Name | Description |
---|---|---|
VirtualTerminal | terminal | Virtual terminal. |
String | path | Path to a local file. |
TerminalImageFormat | format | Image format. |
TerminalCaptureOptions | options | Capture options. |
TerminalFont | font | Font (optional). |
Save(VirtualTerminal, Stream, TerminalImageFormat, TerminalFont)
Saves the content of the terminal screen to the specified stream in the specified image format.
Declaration
public static void Save(this VirtualTerminal terminal, Stream output, TerminalImageFormat format, TerminalFont font = null)
Parameters
Type | Name | Description |
---|---|---|
VirtualTerminal | terminal | Virtual terminal. |
Stream | output | Output stream. |
TerminalImageFormat | format | Image format. |
TerminalFont | font | Font (optional). |
Save(VirtualTerminal, String, TerminalImageFormat, TerminalFont)
Saves the content of the terminal screen to the specified file in the specified image format.
Declaration
public static void Save(this VirtualTerminal terminal, string path, TerminalImageFormat format, TerminalFont font = null)
Parameters
Type | Name | Description |
---|---|---|
VirtualTerminal | terminal | Virtual terminal. |
String | path | Path to a local file. |
TerminalImageFormat | format | Image format. |
TerminalFont | font | Font (optional). |