GraphicUtilNormalizeMIMEType Method |
Public API of XMLmind XSL-FO Converter for .NET
Returns specified MIME type after ``normalizing'' it.
Namespace: XmlMind.FoConverterAssembly: xfc-api (in xfc-api.dll) Version: 6.3.0
Syntax public static string NormalizeMIMEType(
string format
)
Public Shared Function NormalizeMIMEType (
format As String
) As String
public:
static String^ NormalizeMIMEType(
String^ format
)
Parameters
- format
- Type: SystemString
a MIME type
Return Value
Type:
Stringnormalized MIME type
Remarks
For example, returns "text/html" for
"TEXT/HTML; CHARSET=UTF-8".
Other example, returns "image/jpeg" for
"image/jpg".
See Also