title | keywords | f1_keywords | ms.service | api_name | ms.assetid | ms.date | ms.localizationpriority | ||
---|---|---|---|---|---|---|---|---|---|
Application.GanttBarSize method (Project) |
vbapj.chm2058 |
|
project-server |
|
691ee987-a62b-bf5f-0088-0f153aa64966 |
06/08/2017 |
medium |
Sets the height, in points, of the Gantt bars in the active Gantt Chart.
expression. GanttBarSize
( _Size_
)
expression A variable that represents an Application object.
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. |
Boolean
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]