Error processing SSI file
LEADTOOLS Image File Support (Leadtools.Codecs assembly)

Show in webframe

GetMimeTypeExtension Method








The MIME type requested.
Gets the default extension for the specified MIME type.
Syntax
public static string GetMimeTypeExtension( 
   string mimeType
)
'Declaration
 
Public Shared Function GetMimeTypeExtension( _
   ByVal mimeType As String _
) As String
'Usage
 
Dim mimeType As String
Dim value As String
 
value = RasterCodecs.GetMimeTypeExtension(mimeType)
public static string GetMimeTypeExtension( 
   string mimeType
)
 function Leadtools.Codecs.RasterCodecs.GetMimeTypeExtension( 
   mimeType 
)
public:
static String^ GetMimeTypeExtension( 
   String^ mimeType
) 

Parameters

mimeType
The MIME type requested.

Return Value

A string containing the file extension for the specified MIME type (without the ".").
Remarks

This method will return the default file extension commonly used with file of types mimeType. For example, "image/jpeg" MIME type (JPEG raster image files) commonly have "jpg" extensions, "application/pdf" (Adobe PDF files) commonly have "pdf" extensions and so forth.

Requirements

Target Platforms

See Also

Reference

RasterCodecs Class
RasterCodecs Members
RasterCodecs.GetExtensionMimeType
RasterCodecs.GetExtension
CodecsLoadOptions.Name

Error processing SSI file