Gets or sets a value indicating whether the document area must be resized automatically so it fits the diagram contents.
Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming
C# Copy Code |
---|
public AutoResize AutoResize { get; set; } |
Visual Basic Copy Code |
---|
Public Property AutoResize As AutoResize |
A member of the AutoResize enumeration. The default is AutoResize.RightAndDown.
If automatic resizing is enabled, the size of the document scrollable area is updated each time an item is created, deleted or moved, either by end-users or by calling of methods. The following AutoResize values specify in what directions the diagram area is allowed to grow:
Member name | Description |
---|---|
None | Do not enlarge the diagram area automatically. |
RightAndDown | Enlarge the diagram area to the right and down if an item is moved outside the boundaries in these directions. |
AllDirections | Enlarge the diagram area in any direction if an item is moved outside the boundaries. |
MindFusion.Diagramming Developer's Guide | © 2024 MindFusion |