Saves the Baltie space to a stream.
            
    Namespace: 
   SGP.BaltieAssembly: SGPRTL (in SGPRTL.dll)
Version: 1.2.3019.18825
Syntax
| C# | 
|---|
public bool SaveScene( Stream stream, bool throwIfException, params IXSceneExtensionWriter[] writers )  | 
Parameters
- stream
 - Type: System.IO..::.Stream
Stream Stream to write the scene into. 
- throwIfException
 - Type: System..::.Boolean
Indicates whether exception should be thrown or an error dialog displayed if an error occurs. 
- writers
 - Type: array<
            SGP.XSpace..::.IXSceneExtensionWriter
          >[]()[]
Extensions IXSceneExtensionWriter to be saved with the scene. 
Return Value
Returns trueTruetruetrue (True in Visual Basic) if the scene saved successfully.
Exceptions
| Exception | Condition | 
|---|---|
| System..::.ArgumentNullException | stream is nullNothingnullptra null reference (Nothing in Visual Basic). |