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.
Namespace: com.mindfusion.diagramming
Package: com.mindfusion.diagramming
SyntaxJava
Copy Code
|
|---|
public void zoomToFit ( |
A Rectangle2D object representing the region to which the view should be fitted.
See Also