Gets the MIME type associated with the specified file format extension.
public static string GetExtensionMimeType(
string extension
)
Public Shared Function GetExtensionMimeType( _
ByVal extension As String _
) As String
public static string GetExtensionMimeType(
string extension
)
function Leadtools.Codecs.RasterCodecs.GetExtensionMimeType(
extension
)
public:
static String^ GetExtensionMimeType(
String^ extension
)
extension
The file format extension requested. This value can be with or without the leading ".".
A string containing the MIME type associated with the specified file format extension.
This method will return the MIME type used with the common file extension extension. For example, ".jpg" or ".jpeg" commonly associated with JPEG raster image files will return the standard "image/jpeg" MIME type, ".pdf" commonly associated with Adobe PDF files will return the standard "application/pdf" MIME type and so forth.
If the extension value is not associated with a known MIME type or is not one of the formats supported by LEADTOOLS, then the general "application/octet-stream" is returned.
Products |
Support |
Feedback: GetExtensionMimeType Method - Leadtools.Codecs |
Introduction |
Help Version 19.0.2017.6.16
|
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET
Your email has been sent to support! Someone should be in touch! If your matter is urgent please come back into chat.
Chat Hours:
Monday - Friday, 8:30am to 6pm ET
Thank you for your feedback!
Please fill out the form again to start a new chat.
All agents are currently offline.
Chat Hours:
Monday - Friday
8:30AM - 6PM EST
To contact us please fill out this form and we will contact you via email.