Zooming in Diagrams
See Also
The IDE lets you change the scale of any UML diagram displayed in a Diagram window. Several zooming features are available, as described next:
Lets you automatically bring an entire diagram into full view in its Diagram window with the zoom to fit feature. Typically, zooming to fit reduces all components in the target diagram to a size too small to read. This feature offers a good overview of the components that make up a diagram, and their arrangement in relation to one another.
To zoom to fit:
- Click the target Diagram window.
- In the target Diagram window, right-click, and then click Zoom.
- In the resulting dialog box, choose Fit to window, and then click OK.
UML Modeling displays the target diagram completely within the borders of its window.
Lets you custom zoom into and out of any Diagram window by specifying a zoom percentage on the Diagram toolbar. The custom zoom feature lets you type a specific zoom percentage, or select a preset percentage from the custom zoom drop-down list. The higher the specified percentage value, the closer the zoom.
To use custom zoom:
- Click the target Diagram window.
- In the target Diagram window, right-click, and then choose Zoom to open the Zoom dialog box.
- In the Custom Zoom box, do one of the following:
- Type a zoom percentage value.
- Select a preset zoom value from the list.
UML Modeling displays the target diagram at the specified zoom percentage.
Lets you incrementally zoom into and out of any Diagram window, enlarging or reducing the size of your diagram gradually with the click of a button.
To zoom in and out:
- Click the target Diagram window.
- To zoom in (enlarge the diagram), in the target Diagram window, right-click, and then choose Zoom In.
- To zoom out (reduce the diagram), in the target Diagram window, right-click, and then choose Zoom Out.
The IDE redraws the target diagram according to the type of zoom you specify.
Lets you zoom into any Diagram window by specifying an area for zooming. This feature lets you drag a box or marquee over any diagram. Once placed, the IDE zooms in on the specified area, making it the new focus of the Diagram window. You can only use this feature to zoom into diagrams.
To zoom with Marquee:
- Click the target Diagram window.
- On the Diagram toolbar, click the Zoom With Marquee button
.
The IDE changes the pointer mode to Zoom with Marquee.
- Drag a rectangular region in the target Diagram window.
The IDE zooms in on the specified region.
Lets you zoom into and out of any Diagram window by dragging your pointer along the y-axis in the target diagram.
To zoom interactively:
- Click the target Diagram window.
- On the Diagram toolbar, click the Zoom Interactively button
.
The IDE changes the pointer mode to Zoom Interactively.
- On the target Diagram window, click and do one of the following:
- To zoom in to the diagram, drag your pointer down.
- To zoom out of the diagram, drag your pointer up.
The IDE zooms accordingly.
- See Also
- Using the Overview Window
- Using the Diagram Editor
Legal Notices