Type | Description | |||
Long | A Long expression that indicates the height of the bar, in pixels. |
The control provides several predefined bars as follows:
For instance, the following VB sample changes the height of the "Task" bar:
Gantt1.Chart.Bars("Task").Height = 18
The following VC++ sample changes the height of the "Task" bar:
m_gantt.GetChart().GetBars().GetItem( COleVariant( "Task" ) ).SetHeight( 18 );
The following VFP sample changes the height of the "Task" bar:
With thisform.Gantt1.Chart.Bars .Item("Task").Height = 18 endwith
The following C# sample changes the height of the "Task" bar:
axGantt1.Chart.Bars["Task"].Height = 18;
The following VB.NET sample changes the height of the "Task" bar:
AxGantt1.Chart.Bars("Task").Height = 18