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:
G2antt1.Chart.Bars("Task").Height = 18
The following VC++ sample changes the height of the "Task" bar:
m_g2antt.GetChart().GetBars().GetItem( COleVariant( "Task" ) ).SetHeight( 18 );
The following VFP sample changes the height of the "Task" bar:
With thisform.G2antt1.Chart.Bars .Item("Task").Height = 18 endwith
The following C# sample changes the height of the "Task" bar:
axG2antt1.Chart.Bars["Task"].Height = 18;
The following VB.NET sample changes the height of the "Task" bar:
AxG2antt1.Chart.Bars("Task").Height = 18