Form FlowsheetRestore Snapshot 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
Assembly: DWSIM (in DWSIM.exe) Version: 10.0.9588.16093
C#
public void RestoreSnapshot(
XDocument xdata,
SnapshotType stype
)VB
Public Sub RestoreSnapshot (
xdata As XDocument,
stype As SnapshotType
)Parameters
- xdata XDocument
- The XML document produced by GetSnapshot(SnapshotType, ISimulationObject).
- stype SnapshotType
- The scope of the snapshot to restore.