Search
DiagramView.zoomToFit Method
See Also
 

 Overload List

Name Description

DiagramView.zoomToFit ()

Zooms the diagram so that all its contents becomes visible.

DiagramView.zoomToFit (Rectangle2D)

Zooms and scrolls the diagram so that the specified rectangular area becomes visible. The DiagramView component must be contained within a JScrollPane in order to use this method.

 See Also