A command for automatically zooming and panning the diagram in a way that fits the diagram to the size of the DiagramSurface.

Namespace:  Mindscape.WpfDiagramming
Assembly:  Mindscape.WpfDiagramming.Foundation (in Mindscape.WpfDiagramming.Foundation.dll)
Version: 2.0.0.0 (2.0.0.0)

Syntax

C#
public static readonly RoutedCommand SizeToFit
Visual Basic (Declaration)
Public Shared ReadOnly SizeToFit As RoutedCommand

See Also