Click or drag to resize

FileCommandsSave Method

Saves the worksheet (data table and the corresponding layout, including scripts) into a xml file.

Namespace: Altaxo.Worksheet
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public static void Save(
	this WorksheetLayout worksheet,
	Stream myStream,
	bool saveAsTemplate
)

Parameters

worksheet  WorksheetLayout
The worksheet to save.
myStream  Stream
The stream where the xml data are to save into.
saveAsTemplate  Boolean
If true, the data are not saved, but only the layout of the worksheet (columns, property columns, scripts). If false, everything including the data is saved.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type WorksheetLayout. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also