Saves the current image to a file. SaveImage detects file format from extension.

Namespace: HiComponents.IEvolution
Assembly: IEvolution2 (in IEvolution2.dll) Version: 10.1.0.0

Syntax

         
 C#  Visual Basic  Visual C++ 
public void SaveImage(
	string fileName,
	IEFileFormats fileFormat
)
Public Sub SaveImage ( _
	fileName As String, _
	fileFormat As IEFileFormats _
)
public:
void SaveImage(
	String^ fileName, 
	IEFileFormats fileFormat
)

Parameters

fileName
String
Used to indicate the file path with extension
fileFormat
IEFileFormats
Optionally specifies the file format. If not specified it looks at the file name extension.

Return Value

No return value

Examples

This sample shows how to save current image to test1.jpg

CopyC#
Image.SaveImage("test1.jpg");

See Also