Search
Diagram.ResizeToFitItems Method (Double)
See Also
 






Resizes the document scrollable area so it fits all diagram items.

Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming

 Syntax

C#  Copy Code

public void ResizeToFitItems (
    double margins
)

Visual Basic  Copy Code

Public Sub ResizeToFitItems( _
    margins As Double _
)

 Parameters

margins

A gap that should be left as a border around the diagram.

 Remarks

Resizes the document area to be just as big as needed, for example, the smallest rectangle containing all diagram items.

 See Also