IGantt.GetNewItem Method

Creates and returns a new IGanttItemInfo instance.
Function GetNewItem() As IGanttItemInfo
This language is not supported or no code example is available.
IGanttItemInfo GetNewItem()
This language is not supported or no code example is available.

Return Value

IGanttItemInfo

Newly created IGanttItemInfo instance.

Remarks
 
This method doesn't add the new item in the Gantt diagram. It only creates a new instance which can be modified and added to a diagram later. You need to add the item to the diagram explicitly with the WriteItemToGanttDiagram method.
Version
 
Available since QDV 7.13.0001.

.NET Framework

Supported in: 4.8, 4.7, 4.6, 4.5.2

In this article

Definition