CodeCarvings.Piczard
GetMimeTypeFromImageFormatId Method
See Also  Send Feedback
CodeCarvings.Piczard Namespace > ImageArchiver Class : GetMimeTypeFromImageFormatId Method

imageFormatId
The Guid that identifies the image format.
Gets the default MIME type associated with a particular image format.

Syntax

Visual Basic (Declaration)  
Public Shared Function GetMimeTypeFromImageFormatId( _
   ByVal imageFormatId As Guid _
) As String
C#  
public static string GetMimeTypeFromImageFormatId( 
   Guid imageFormatId
)

Parameters

imageFormatId
The Guid that identifies the image format.

Return Value

The MIME type (e.g. "image/jpeg") associated with the image format; null in case the image format is unknown.

Requirements

Platforms: Windows 8, Windows 7, Windows Vista, Windows XP Professional, Windows 2000 - Windows Server family: 2012, 2008.R2, 2008, 2003, 2000

See Also

©2013 Sergio Turolla. All Rights Reserved.