This documentation is for the old version. Go to the latest Graphics Mill docs

FormatManager.GetDefaultExtension Method

Returns default extension for specified format.

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

Syntax

Visual Basic
Public Shared Function GetDefaultExtension ( _
	format As Long _
) As String
C#
public static string GetDefaultExtension(
	long format
)

Parameters

format

Type: System.Int64

An integer value that specifies a media format ID of necessary format.

Return Value

The string value that contains the default extension for specified format.

Remarks

Each format supported with Graphics Mill for .NET has its own format ID. They are represented by static fields of FormatManager, such as JpegFormat, GifFormat, etc.

See Also

Reference