STK ObjectsSend comments on this topic.
IAgVeGfxIntervalsCollection Interface

Description

Custom Intervals Graphics List

Public Methods

Public Method AddAdds a new element to the collection. Start/Stop params use DateFormat Dimension.
Public Method RemoveAllRemoves all elements from the collection.
Public Method RemoveAtRemoves an element from the collection using specified index.

Public Properties

Public Property CountReturns the number of elements in a collection.
Public Property ItemGiven an index, returns an element in the collection.

Example

Configure custom intervals graphics
[C#]
IAgVeGfxIntervalsCollection customIntervals = customAttributes.Intervals;

// Add intervals
customIntervals.Add("1 Jan 2012 12:00:00.000", "1 Jan 2012 14:00:00.000");
customIntervals.Add("2 Jan 2012 01:00:00.000", "2 Jan 2012 02:00:00.000");

// Deconflict intervals if necessary
customAttributes.Deconflict();
Configure custom intervals graphics
[Visual Basic .NET]
Dim customIntervals As IAgVeGfxIntervalsCollection = customAttributes.Intervals

' Add intervals
customIntervals.Add("1 Jan 2012 12:00:00.000", "1 Jan 2012 14:00:00.000")
customIntervals.Add("2 Jan 2012 01:00:00.000", "2 Jan 2012 02:00:00.000")

' Deconflict intervals if necessary
customAttributes.Deconflict()
© 2024 Analytical Graphics, Inc. All Rights Reserved.