Gets or sets a value representing the size of the diagram's scrollable area.
Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming.Silverlight
C#
![]() |
---|
public Rect Bounds { get; set; } |
Visual Basic
![]() |
---|
Public Property Bounds As Rect |
A System.Windows.Rect specifying the diagram size. The default is A4 size (210 x 297 millimeters).
You should use this property to set the diagram size rather then Width and Height inherited from Control. Width and Height are automatically set to the Bounds dimensions combined with a scale transform derived from the MeasureUnit and ZoomFactor values.