Gets or sets a value representing the size of the diagram's scrollable area.
Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming
C#
![]() |
---|
public new Rect Bounds { get; set; } |
Visual Basic
![]() |
---|
Public Shadows Property Bounds As Rect |
A Microsoft.Maui.Graphics.Rect isntance. The default size of the document is the standard A4 size, that is 210x297.
Use this property to set the diagram size (how far it can be scrolled). If view's ShowScrollbars property is enabled, setting the diagram extents also updates the scrollbar ranges. After creating a diagram programmatically, you might wish to call ResizeToFitItems to make the scrollable area just big enough to contain all diagram elements.
Diagramming for .NET MAUI Guide | © 2025 MindFusion |