DiagramLite Programmer's Guide
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.Silverlight

 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 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 by the end-user. To resize the diagram after programmatic changes, call the ResizeToFitItems method.

 See Also

Diagram Members
Diagram Class
MindFusion.Diagramming Namespace
Bounds Property
AutoScroll Property