AGI STK Objects 11 Send comments on this topic.
IAgVeGfxIntervalsCollection Collection
Windows






Windows & Linux

Description

Custom Intervals Graphics List

Object Model

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#]Copy Code
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]Copy Code
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()

© 2018 Analytical Graphics, Inc. All Rights Reserved.