Easy Tile Demo

Category:
Screen/Graphics
Type:
Snippets
Difficulty:
Intermediate
Author:
Ethan

Version Compatibility:

More information:
The Attached Code shows how to:
  • Load an image(gif,jpg,wmf,bmp) into a picture object
  • Use the picture object, scalex, scaley properties and the paintpicture function to create a tile background on a PictureBox, Form, or Printer
  • Use the Commondialog control
Directions: To view a graphic as a tiled background double click on the form and select the graphic to view.

Instructions: Click the link below to download the code. Select 'Save' from the IE popup dialog. Once downloaded, open the .zip file from your local drive using WinZip or a comparable program to view the contents.

Download objtile.zip