Skip to content

Latest commit

 

History

History
54 lines (29 loc) · 1.27 KB

Project.Application.PanZoomPanTo.md

File metadata and controls

54 lines (29 loc) · 1.27 KB
title ms.service api_name ms.assetid ms.date ms.localizationpriority
Application.PanZoomPanTo method (Project)
project-server
Project.Application.PanZoomPanTo
7bdca9f2-d006-6cab-872b-01cf54f6e8ce
06/08/2017
medium

Application.PanZoomPanTo method (Project)

Pans the Gantt chart in the active view to the specified start date.

Syntax

expression. PanZoomPanTo( _Start_ )

expression An expression that returns an Application object.

Parameters

Name Required/Optional Data type Description
Start Required Variant Specifies the start date for the left side of the Gantt chart.

Return value

Nothing

Remarks

The PanZoomPanTo method has no effect on the Calendar view or Network Diagram (PERT chart) view.

To zoom the Gantt chart in or out, which changes the timescale, use the PanZoomZoomTo method. To change the timescale format and labels, use the TimescaleEdit method.

Example

The following command moves the beginning of the visible Gantt chart to March 18, 2012.

PanZoomPanTo Start:="3/18/2012" 

[!includeSupport and feedback]