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 | Road Dark | Road Gray}Specify the type of map to use if UseBingMaps is on.
ImageFile "<FilePath>"Specify a background image file. The image file will be shown if UseBingMaps is off.

"<FilePath>" can be the path to a file on your local drive or the path to a file on an SDF server. See Specifying Paths for "<SDFFilePath>" syntax information.

WindowId <WinNumber>Specify the 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