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 On then the Bing™ Maps will be shown for the background image. If Off then the image file will be displayed.
BingMapsType {Aerial | Road | Hybrid | HillShade} Specify the type of map to use if UseBingMaps is on.
BingMapsServer "<ServerName>" Specify the Bing Maps server to use.
ImageFile "<Filepath>" Specify a background image file. The image file will be shown if UseBingMaps is off.
WindowId <WinNumber> Specify the 2d Graphics window where the background is being set. The default is the first 2D Graphics window.

Example

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

ReturnMessage

If activated, Connect returns an acknowledgement message.

Group Membership

This command belongs to the following group(s):

2D Graphics Window

Version

10

STK Programming Interface 11.0.1