ParseFromMime

ImageType.ParseFromMime method

Returns ImageType value, which is equivalent of specified MIME code

public static ImageType ParseFromMime(string mimeCode)
Parameter Type Description
mimeCode String Arbitrary MIME-code

Return Value

ImageType value. Returns ImageType.Undefined, if extension cannot be recognized.

See Also