Skip to content

Latest commit

 

History

History
52 lines (32 loc) · 1.24 KB

Project.Application.BoxZoom.md

File metadata and controls

52 lines (32 loc) · 1.24 KB
title keywords f1_keywords ms.service api_name ms.assetid ms.date ms.localizationpriority
Application.BoxZoom method (Project)
vbapj.chm308
vbapj.chm308
project-server
Project.Application.BoxZoom
fbfae092-93b1-b72f-6b42-a498a1543e00
06/08/2017
medium

Application.BoxZoom method (Project)

Zooms in to or out from the Network Diagram.

Syntax

expression. BoxZoom( _Percent_, _Entire_ )

expression A variable that represents an Application object.

Parameters

Name Required/Optional Data type Description
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 to fit the entire project onto the screen, within the same limits described for Percent. The default value is False.

Return value

Boolean

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

[!includeSupport and feedback]