Office.ProjectViewTypes enum

Specifies the types of views that the Document.getSelectedViewAsync method can recognize.

Remarks

The Document.getSelectedViewAsync method returns the ProjectViewTypes constant value and name that corresponds to the active view.

Support details

A capital Y in the following matrix indicates that this enumeration is supported in the corresponding Office host application. An empty cell indicates that the Office host application doesn't support this enumeration.

For more information about Office host application and server requirements, see Requirements for running Office Add-ins.

Supported hosts, by platform

Office for Windows desktop Office Online (in browser)
Project Y

Fields

Calendar

The Calendar view.

Gantt

The Gantt chart view.

NetworkDiagram

The Network Diagram view.

ResourceForm

The Resource Form view.

ResourceGraph

The Resource Graph view.

ResourceNames

The Resource Names view.

ResourceSheet

The Resource Sheet view.

ResourceUsage

The Resource Usage view.

TaskDetails

The Task Details view.

TaskDiagram

The Task Diagram view.

TaskForm

The Task form view.

TaskNameForm

The Task Name Form view.

TaskSheet

The Task Sheet view.

TaskUsage

The Task Usage view.

TeamPlanner

The Team Planner view.

Timeline

The Timeline view.