Using the FWProcessDefinitionSnapshot API

Last published at: June 21st, 2023

Get a Snapshot

FWProcessDefinitionSnapshot oSnapShot = oDef.GetSnapShot(“snapshot id”);

Gets a specific snapshot using the snapshot ID.


Get a list of snapshots for the definition

var oList = oDef.GetSnapshots();

Gets a list of snapshots for the current definition using a Dictionary object.


Generate a graphical model

Bool bFlag = oSnapshot.GenerateModelGraphic(ref Bitmap oImageBitmap, string imageFilesPa th, ref Point oDeltaPoint)

Generates a graphical model for the snapshot as an bitmap image.


Get snapshot properties

Hashtable oProps = oSnapshot.GetProperties(params string[] propertyNames)

Gets a list of properties for the snapshot, if property names are provided, then only those properties will be retrieved.