SaveImage(String,ImageFormat) Method

Example 

Image format to save the file in, for example ImageFormat.Tiff
Generic method that will save the image in the specified ImageFormat.

Syntax

'Declaration
 
Public Overloads Sub SaveImage( _
   ByVal fileName As String, _
   ByVal format As ImageFormat _
) 
public void SaveImage( 
   string fileName,
   ImageFormat format
)

Parameters

fileName
format
Image format to save the file in, for example ImageFormat.Tiff

Example

// Save image to file system in the selected format
image.SaveImage(@"C:\MyImages\Output.tif", ImageFormat.Tiff);

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

This documentation was created using Document! X from Innovasys