Saves the Baltie area to a stream.

Namespace:  SGP.Baltie2D
Assembly:  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

ExceptionCondition
System..::.ArgumentNullException stream is nullNothingnullptra null reference (Nothing in Visual Basic).

See Also