Click or drag to resize
GraphicUtilFormatToSuffix Method
Public API of XMLmind XSL-FO Converter for .NET
Returns the file suffix corresponding to specified MIME type.

Namespace: XmlMind.FoConverter
Assembly: xfc-api (in xfc-api.dll) Version: 6.3.0
Syntax
public static string FormatToSuffix(
	string format
)

Parameters

format
Type: SystemString
a MIME type

Return Value

Type: String
suitable filename suffix or ".img" if such suffix cannot be determined
Remarks
For example, returns: ".jpg" for "image/jpeg" and ".bar" for "application/x-bar+xml".
See Also