OptionParam

[in, out] VARIANT – Allows defining the value of a specified parameter in the TerraExplorer options.

Each parameter is accessed by a unique identification string. To set or get the value of a certain parameter, assign values to or from ITerraExplorer51.OptionParam(“ParameterString”),

e.g., ITerraExplorer51.OptionParam(“FollowGround”) = TRUE

 

The following table describes the supported parameter string values and the respective parameter value options:

 

paramName

[In/Out] Type

pVal

General

"UseTerrainFadeIfAvailable"

[in, out] bool

A Boolean that determines whether terrain fade is activated.

"TerrainModelQuality"

[in, out] BSTR

Select the resolution of the polygonal terrain model. Use any of the following values:

  • 0 = "Normal"

  • 1 = "High"

  • 2 = "Best"

Navigation

"TiltAffectsAltitude"

[in, out] bool

A Boolean that determines whether  the plane tilt affects the altitude.

"FollowGround"

[in, out] bool

A Boolean that determines whether  the plane maintains a constant altitude above the ground.

Units

"Speed"

[in, out] int

Select the speed display units. Use any of the following values:

  • 0 = Km/h

  • 1 = Mph

  • 2 = Knots

"AltitudeAndDistance"

[in, out] int

Select the altitude and distance display units. Use any of the following values:

  • 0 = Meters

  • 1 = Feet

"AltitudeType"

[in, out] int

Select the Altitude Type display units. Use any of the following values:

  • 0 = Above Ground Level (AGL)

  • 1 = Absolute Values

"LatLongCoordinates"

[in, out] int

Select the Lat-Long Coordinates display units. Use any of the following values:

  • 0 = Decimal Degrees

  • 1 = Degrees, Minutes, Seconds

Head Up Display

"HeadUpDisplay"

[in, out] int

Determines the Head Up Display. Use any combination of the following flags:

  • HUD_LAYER_NONE = 0

  • HUD_LAYER_ACTIVE_ARROWS = 1

  • HUD_LAYER_CENTER_SIGN = 2

  • HUD_LAYER_TEXT_DATA = 4

  • HUD_LAYER_COMPASS = 8

  • HUD_LAYER_GRAPHIC_1 = 16

  • HUD_LAYER_PAN_BARS = 32

"HudColor"

[in, out] long

The color of the HUD in the hexadecimal form: 0x00bbggrr.

 

Note:     Only some of the TerraExplorer Options parameters are exposed through this property. For other options, use the Settings dialog box.

See: “Using TerraExplorer Options” chapter in the User Manual for additional information.