Skip to content

Latest commit

 

History

History
59 lines (36 loc) · 1.22 KB

Project.Application.GanttBarSize.md

File metadata and controls

59 lines (36 loc) · 1.22 KB
title keywords f1_keywords ms.service api_name ms.assetid ms.date ms.localizationpriority
Application.GanttBarSize method (Project)
vbapj.chm2058
vbapj.chm2058
project-server
Project.Application.GanttBarSize
691ee987-a62b-bf5f-0088-0f153aa64966
06/08/2017
medium

Application.GanttBarSize method (Project)

Sets the height, in points, of the Gantt bars in the active Gantt Chart.

Syntax

expression. GanttBarSize( _Size_ )

expression A variable that represents an Application object.

Parameters

Name Required/Optional Data type Description
Size Required Long A constant specifying the height, in points, of the Gantt bars in the active Gantt Chart. Can be one of the following PjBarSize constants.

Return value

Boolean

Example

The following example set the bar size to pjBarSize24.

Sub GanttBar_Size() 
 
 'Activate Gantt Chart view 
 ViewApply Name:="&Gantt Chart" 
 GanttBarSize Size:= 
pjBarSize24
End Sub

[!includeSupport and feedback]