FormFlowsheetRestoreSnapshot Method

Restores the flowsheet state from a previously captured snapshot document. Depending on stype the restore may cover object data only, graphic layout only, or the full simulation state.

Definition

Namespace: DWSIM
Assembly: DWSIM (in DWSIM.exe) Version: 10.0.9588.16093
public void RestoreSnapshot(
	XDocument xdata,
	SnapshotType stype
)

Parameters

xdata  XDocument
The XML document produced by GetSnapshot(SnapshotType, ISimulationObject).
stype  SnapshotType
The scope of the snapshot to restore.

Implements

IFlowsheetRestoreSnapshot(XDocument, SnapshotType)

See Also