Meet us at PRINT 19. Chicago, IL. Oct. 3 - 5.
This documentation is for the old version. Go to the latest Graphics Mill docs

Bitmap.Save Method (String)

Saves the bitmap into specified file.

Namespace: Aurigma.GraphicsMill
Assembly: Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)

Syntax

Visual Basic
Public Sub Save ( _
	fileName As String _
)
C#
public void Save(
	string fileName
)

Parameters

fileName

Type: System.String

The name of the target file.

Remarks

This method analyzes a file extension to determine what file format to save to. If extention is unknown, method fails (exception is thrown).

This method does not support retrieving any encoder settings. If you need retrieve any settings, use this overloaded method instead.

Using this method is the same as creating appropriate writer derived from FormatWriter and running it in synchronous mode.

Examples

Visual Basic
bitmap.Save("c:\result.jpg")
C#
bitmap.Save(@"c:\result.jpg");

See Also

Reference