AGI STK Objects 11 Send comments on this topic.
IAgVODataDisplayCollection Collection





Description

Data Display Text

Object Model

Public Methods

Public Method Add Adds a new element to the collection.
Public Method AddDataDisplayRequiringPreData Adds a data display using additional data, such as a comparison object for an RIC report or a set of axes for a vector.
Public Method IsPreDataRequired Helper function to determine if the data display needs additional data, such as a comparison object for an RIC report or a set of axes for a vector.
Public Method RemoveAll Removes all elements from the collection.
Public Method RemoveAt Removes an element from the collection using specified index.

Public Properties

Public Property AvailableData gets the available data
Public Property Count Returns the number of elements in a collection.
Public Property Item Given an index, returns an element in the collection.

Example

Configure 3D data display
[C#] Copy Code
// Add existing data display 
// See AvailableData property for available data display 
IAgVODataDisplayElement displayElement = datadisplaycol.Add("Solar Intensity"); 
 
// Configure data display as needed 
displayElement.TitleText = "Sol. Intensity"
displayElement.IsVisible = true
displayElement.Location = AgEVOLocation.e3DWindow; 
displayElement.FontColor = Color.White; 
displayElement.FontSize = AgEVOFontSize.eSmall; 
displayElement.UseBackground = true
displayElement.BgColor = Color.Orange; 
displayElement.UseAutoSizeWidth = false
displayElement.UseAutoSizeHeight = false
displayElement.BgHeight = 55
displayElement.BgWidth = 260
displayElement.BackgroundTranslucency = 0.5
displayElement.UseBackgroundTexture = false
displayElement.UseBackgroundBorder = true
displayElement.BackgroundBorderColor = Color.White; 
 

Configure 3D data display
[Visual Basic .NET] Copy Code
' Add existing data display
' See AvailableData property for available data display
Dim displayElement As IAgVODataDisplayElement = datadisplaycol.Add("Solar Intensity")

' Configure data display as needed
displayElement.TitleText = "Sol. Intensity"
displayElement.IsVisible = True
displayElement.Location = AgEVOLocation.e3DWindow
displayElement.FontColor = Color.White
displayElement.FontSize = AgEVOFontSize.eSmall
displayElement.UseBackground = True
displayElement.BgColor = Color.Orange
displayElement.UseAutoSizeWidth = False
displayElement.UseAutoSizeHeight = False
displayElement.BgHeight = 55
displayElement.BgWidth = 260
displayElement.BackgroundTranslucency = 0.5
displayElement.UseBackgroundTexture = False
displayElement.UseBackgroundBorder = True
displayElement.BackgroundBorderColor = Color.White

© 2016 Analytical Graphics, Inc. All Rights Reserved.

STK Programming Interface 11.0.1