Saves instrument as JPEG image into given stream with given size, scale and jpegQuality.

Namespace:  PerpetuumSoft.Instrumentation.Model
Assembly:  PerpetuumSoft.Instrumentation (in PerpetuumSoft.Instrumentation.dll) Version: 3.9.0.1

Syntax

C#
public void SaveAsImage(
	Stream stream,
	int width,
	int height,
	float scale,
	int jpegQuality
)
Visual Basic (Declaration)
Public Sub SaveAsImage ( _
	stream As Stream, _
	width As Integer, _
	height As Integer, _
	scale As Single, _
	jpegQuality As Integer _
)
Visual C++
public:
void SaveAsImage(
	Stream^ stream, 
	int width, 
	int height, 
	float scale, 
	int jpegQuality
)

Parameters

stream
Type: System.IO..::.Stream
width
Type: System..::.Int32
height
Type: System..::.Int32
scale
Type: System..::.Single
jpegQuality
Type: System..::.Int32

See Also