Search
Diagram.GetContentBounds Method
See Also
 






Returns the smallest rectangle that bounds all diagram objects.

Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming

 Syntax

C#  Copy Code

public Rect GetContentBounds (
    bool forPrint,
    bool onlyVisible
)

Visual Basic  Copy Code

Public Function GetContentBounds( _
    forPrint As Boolean, _
    onlyVisible As Boolean _
) As Rect

 Parameters

forPrint

Specifies whether only printable items should be considered.

onlyVisible

Specifies whether only visible items should be considered.

 Return Value

The smallest rectangle that bounds all diagram items.

 See Also