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

FormatManager.GetMimeType Method

Returns mime type of the format by specified ID.

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

Syntax

Visual Basic
Public Shared Function GetMimeType ( _
	format As Long _
) As String
C#
public static string GetMimeType(
	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 MIME type 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