Resizes the document scrollable area so it fits all diagram items, optionally considering ony the visible items.
Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming
C#
![]() |
---|
public void ResizeToFitItems ( |
Visual Basic
![]() |
---|
Public Sub ResizeToFitItems( _ |
A gap that should be left as a border around the diagram.
Specifies whether only the bounds of the Visible items should be included in the new document area.
Resizes the document area to be just as big as needed, for example the smallest rectangle containing all diagram items.
MindFusion.Diagramming for WinUI Programmer's Guide | © 2024 MindFusion |