DroidDiagram Programmer's Guide
Diagram.getContentBounds Method
See Also
 






Returns the smallest rectangle that bounds all diagram items.

Namespace: com.mindfusion.diagramming
Package: com.mindfusion.diagramming

 Syntax

Java  Copy Code

public Rectangle2D getContentBounds (
    boolean forPrint,
    boolean onlyVisible
)

 Parameters

forPrint

Specifies whether only printable items should be considered.

onlyVisible

Specifies whether only visible items should be considered.

 Return Value

A Rectangle2D instance representing the smallest rectangle that bounds all diagram items.

 See Also

Diagram Members
Diagram Class
com.mindfusion.diagramming Namespace