Description | Example | Return message | Group

Graphics BackgroundImage

Set background image options for the 2D Graphics window.

Syntax

Graphics <ScenarioPath> BackgroundImage {Options}

Description

The following table describes the options for setting the background image in a 2D Graphics window.

{Options}Description
Show {On | Off}Specify whether or not to show the background image.
UseBingMaps {On | Off}If you enter On, STK will show the Bing™ Maps for the background image. If you enter Off, STK will display the image file.
BingMapsType {Aerial | Road | Hybrid | Road Dark | Road Gray}Specify the type of map to use if you set UseBingMaps to On.
ImageFile "<FilePath>"Specify a background image file. STK will display the image file if you set UseBingMaps to Off.

"<FilePath>" is the path to a file on your local drive.

WindowId <WinNumber>Specify the particular 2D Graphics window where the background is being set. The default is the first 2D Graphics window.

Examples

To show Bing Road Map on the 2D Graphics window:

Graphics * BackgroundImage UseBingMaps On BingMapsType Road

To show a background image, and set an image file for 2D Graphics window 2:

Graphics * BackgroundImage Show On ImageFile "Basic.bmp" WIndowID 2

Return message

Group membership

This command belongs to the following group(s):

2D Graphics Window

Version

12.10