AGI STK Objects 11 Send comments on this topic.
IAgFmGfxContours Interface





Description

Coverage contours.

Object Model




Public Properties

Public Property ColorMethod Color method for contours (color ramp or explicit).
Public Property ContourType Contour display method (block fill or smooth fill).
Public Property IsVisible Opt whether to display contours.
Public Property Legend Contour legend.
Public Property LevelAttributes Contour level display properties.
Public Property RampColor Color ramp colors.
Public Property ShowUpToMaxOnly FOM values greater than max contour level are drawn as transparent.

Example

Configure figure of merit contours
[C#] Copy Code
contours.IsVisible = true
contours.ContourType = AgEFmGfxContourType.eSmoothFill; 
contours.ColorMethod = AgEFmGfxColorMethod.eExplicit; 
 
// Add level ranges (batch) 
contours.LevelAttributes.AddLevelRange(25351); 
IAgFmGfxLevelAttributesElement firstLevel = contours.LevelAttributes[0]; 
firstLevel.Color = Color.Blue; 
 
// Add one level (individually) 
IAgFmGfxLevelAttributesElement level = contours.LevelAttributes.AddLevel(55); 
level.Color = Color.Red; 
 

Configure figure of merit contours
[Visual Basic .NET] Copy Code
contours.IsVisible = True
contours.ContourType = AgEFmGfxContourType.eSmoothFill
contours.ColorMethod = AgEFmGfxColorMethod.eExplicit

' Add level ranges (batch)
contours.LevelAttributes.AddLevelRange(25, 35, 1)
Dim firstLevel As IAgFmGfxLevelAttributesElement = contours.LevelAttributes(0)
firstLevel.Color = Color.Blue

' Add one level (individually)
Dim level As IAgFmGfxLevelAttributesElement = contours.LevelAttributes.AddLevel(55)
level.Color = Color.Red

CoClasses that Implement IAgFmGfxContours

© 2016 Analytical Graphics, Inc. All Rights Reserved.

STK Programming Interface 11.0.1