Search
Diagram.Bounds Property
See Also
 






Gets or sets a value representing the size of the diagram's scrollable area.

Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming

 Syntax

C#  Copy Code

public new Rect Bounds { get; set; }

Visual Basic  Copy Code

Public Shadows Property Bounds As Rect

 Property Value

An instance of the Rectangle structure. The default size of the document is the standard A4 size, that is 210x297.

 Remarks

Use this property to specify how large a document should be, that is, how far it can be scrolled. After creating a diagram programmatically, you might wish to call ResizeToFitItems to make the scrollable area just big enough to contain all diagram elements.

 See Also