Form FlowsheetRegister Snapshot Method
Captures the current flowsheet state as a snapshot of the given scope and pushes it onto the undo stack, then clears the redo stack.
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 RegisterSnapshot(
SnapshotType stype,
ISimulationObject obj = null
)VB
Public Sub RegisterSnapshot (
stype As SnapshotType,
Optional obj As ISimulationObject = Nothing
)Parameters
- stype SnapshotType
- The scope of the snapshot.
- obj ISimulationObject (Optional)
- When stype is ObjectData, the specific simulation object whose data is captured.