Sets the viewport of the ScrollViewer to fit the entire diagram of this DiagramSurface.
Namespace:
Mindscape.WpfDiagrammingAssembly: Mindscape.WpfDiagramming.Foundation (in Mindscape.WpfDiagramming.Foundation.dll)
Version: 2.0.0.0 (2.0.0.0)
Syntax
| C# |
|---|
public void SizeToFit() |
| Visual Basic (Declaration) |
|---|
Public Sub SizeToFit |