Barcode .Net Class Library

ImageFormatToMimeType Method

Applies To: Barcode | BarcodeControl | BarcodeImage

Converts an image format to a MIME type.

[Visual Basic]
Public Shared Function ImageFormatToMimeType( _
   ByVal imageFormat As ImageFormat _
) As String

[C#]
public static string ImageFormatToMimeType(
   ImageFormat imageFormat
);

Parameters

imageFormat
A System.Drawing.Imaging.ImageFormat enumeration that is to be converted.


© 2002 Bokai Corporation. All rights reserved.