Search
Diagram.GetContentBounds Method
See Also
 





Returns the smallest rectangle that bounds all diagram objects.

Namespace: MindFusion.Diagramming
Package: MindFusion.Diagramming

 Syntax

C#  Copy Code

public RectangleF GetContentBounds (
    bool forPrint,
    bool onlyVisible
)

Visual Basic  Copy Code

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

 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