Multimedia Guide and Reference

Adding an image

To display an image of the world, do the following:

  1. Select Canvas icon, the Canvas category, and then select Form icon, the Form part.
  2. Drop the form on the Animals of the World window, double-click on it to open its settings, select the backgroundGraphicsDescriptor property and the ... push button.
  3. In the dialog that opens, select Image, specify smworld.tif with its fully-qualified path where the multimedia samples were installed, and then select OK.
  4. So you can resize the image, select the wallpaperStyle property and, from its drop-down list, select AbtScaledWallpaper.
  5. Close the properties window.

Tips
If you want the image to fill the entire space of a window, you do not need to add a form. A form and window each have wallpaper so if you want the smworld.tif to fill up the entire window, you can modify the wallpaper settings for the window.


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]