Saves instrument as image to the given stream with given size, scale and PictureFormat.
    Namespace: 
   PerpetuumSoft.Instrumentation.ModelAssembly: PerpetuumSoft.Instrumentation (in PerpetuumSoft.Instrumentation.dll) Version: 3.9.0.1
Syntax
| C# | 
|---|
public void SaveAsImage( Stream stream, int width, int height, float scale, PictureFormat format )  | 
| Visual Basic (Declaration) | 
|---|
Public Sub SaveAsImage ( _ stream As Stream, _ width As Integer, _ height As Integer, _ scale As Single, _ format As PictureFormat _ )  | 
| Visual C++ | 
|---|
public: void SaveAsImage( Stream^ stream, int width, int height, float scale, PictureFormat format )  | 
Parameters
- stream
 - Type: System.IO..::.Stream
 
- width
 - Type: System..::.Int32
 
- height
 - Type: System..::.Int32
 
- scale
 - Type: System..::.Single