Creates a new instance of the DiagramState class.
The created DiagramState will represent a clone of the diagram
within the given DiagramSurface.
Namespace:
Mindscape.WpfDiagramming.FoundationAssembly: Mindscape.WpfDiagramming.Foundation (in Mindscape.WpfDiagramming.Foundation.dll)
Version: 2.0.0.0 (2.0.0.0)
Syntax
C# |
---|
public DiagramState( DiagramSurface surface ) |
Visual Basic (Declaration) |
---|
Public Sub New ( _ surface As DiagramSurface _ ) |
Parameters
- surface
- Type: Mindscape.WpfDiagramming..::.DiagramSurface
The DiagramSurface that this DiagramState holds a snapshot of.