Assigning Bitmap Locations in the Project File

When you use bitmap-reference commands to position bitmaps, you must tell Viewer where to find these bitmaps. The easiest way to do this is by including a BMROOT option in the [OPTIONS] section of the project file (.MVP).

The BMROOT option lists the paths where you want Viewer to look for bitmaps. You can give either absolute paths or paths relative to the directory containing the project file.

For the preceding examples, the [OPTIONS] section of the USA.MVP file appears as follows:

[OPTIONS]
.
.
.
BMROOT=.\DIBS

Assuming the project file for the USA Tour sample is in the \VIEWER\USA directory, this option tells Viewer to look for bitmaps in the \VIEWER\USA\DIBS directory.

You can assign more than one path to the BMROOT option. If BMROOT has more than one path, Viewer searches all of the paths, in the order given, for the specified bitmaps. Use commas (,) to separate multiple paths for the BMROOT option.