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
Java
![]() |
---|
public void zoomToFit ( |
A RectF object representing the region to which the view should be fitted.