This sample program shows how to load and save images in a multi-page tif file. It includes 5 jpeg images (a red one, a green one, a blue one, a yellow one, and a light blue one), creatively named 1,2,3,4,5 respectively. 

It also includes a multi-page tiff image (called multi.tif) which was created from the 5 jpeg images. Below are the steps I used to create multi.tif:

1. I ran the project and clicked the load button.
2. I loaded "1.jpg" into the ImageKit Control.
3. I clicked the save button and saved "1.jpg" into a new file called "multi.tif"
4. I clicked the load button again and loaded "2.jpg".
5. I clicked the save button and saved "2.jpg" into the file "multi.tif". When I did this I got a dialog box asking if I wanted to overwrite the file. I clicked okay. This appended "2.jpg" to the end of the multi-page tiff file.
6. I repeated the above steps until I had saved all five jpeg images into the multi-page tiff file.

If you want to load a particular page of a multi-page tiff file, you can specify the page using its index. For example, if you want to load page 3 of the above mentioned "multi.tif" file then do the following:

1. specify the index of the page to be loaded in the text box. In this case, 2 is the index for the third page because the index starts at 0.
2. click the load button and load "multi.tif".
3. the third page of "multi.tif" should appear in the ImageKit Control.


