This example inserts the image into a multipage tiff file.

The FileName property specifies the multipage tiff image into which an image is inserted. The InsertPageIntoMultipageTiff method specifies the image type, the image to be inserted, and the page number where that page is inserted.

Example Code

The image displayed in PictureBox is added in G4 format to the 3rd page of the specified multipage tiff file.

Note that any valid image can be used. To insert the image loaded into the ImageKit control, us null or Nothing.

[Visual Basic.NET]

ImageKit1.File.FileName = "MultiTiff.tif" 'Multipage Tiff file
ImageKit1.File.InsertPageIntoMultipageTiff(Newtone.ImageKit.SaveFileType.SaveTIFFGroup4, pictureBox1.Image, 3)
'(Set the second argument to Nothing if you want to insert the image loaded into the ImageKit control)

[Visual C#.NET]

ImageKit1.File.FileName = "MultiTiff.tif"; //Multipage Tiff file
ImageKit1.File.InsertPageIntoMultipageTiff(Newtone.ImageKit.SaveFileType.SaveTIFFGroup4, pictureBox1.Image, 3);
//(Set the second argument to null if you want to insert the image loaded into the ImageKit control)

Relevant Properties

ImageKit.File.FileName

Relevant Methods

ImageKit.File.InsertPageIntoMultipageTiff

The ImageKit WPF is created by Newtone Corporation