Search
Diagram.AutoResize Property
See Also
 






Gets or sets a value indicating whether the document area should be resized automatically so it fits the diagram contents.

Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming

 Syntax

C#  Copy Code

public AutoResize AutoResize { get; set; }

Visual Basic  Copy Code

Public Property AutoResize As AutoResize

 Property Value

A member of the AutoResize enumeration. The default is AutoResize.RightAndDown.

 Remarks

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.

 See Also