BoxZoom Method
Zooms in on or out from the Network Diagram.
Syntax
expression**.BoxZoom(Percent, Entire)**
*expression * Optional. An expression that returns an Application object.
Percent Optional Variant. The percentage-between 25 and 400-to reduce or enlarge the Network Diagram. If Entire is True, Percent is ignored.
Entire Optional Boolean. True if the Network Diagram resizes in order to fit the entire project onto the screen, within the same limits described for Percent. The default value is False.
Example
The following example attempts to fit all tasks onto the screen. It assumes the Network Diagram is the active view.
Sub Display()
BoxZoom Entire:=True
End Sub
Applies to | Application Object
See Also | BoxShowHideFields Method | Zoom Method | ZoomCalendar Method | ZoomIn Method | ZoomOut Method | ZoomTimescale Method