TdxSmartImageCodec.MimeType Method
Returns the MIME content type associated with the image format that corresponds to the codec.
#Declaration
Delphi
class function MimeType: string; virtual;
#Returns
Type | Description |
---|---|
string | The image format MIME type string. |
#Remarks
Call the MimeType
class function to obtain the multipurpose internet mail extension (MIME) content type for the image format that corresponds to the current image codec implementation.
#Format-Specific Function Implementation
All terminal TdxSmartImageCodec class descendants override the virtual MimeType
function to return format-specific MIME content type:
Tdx |
Mime |
---|---|
Tdx |
'image/bmp' |
Tdx |
'image/emf' |
Tdx |
'image/gif' |
Tdx |
'image/jpg' |
Tdx |
'image/png' |
Tdx |
'image/tiff' |
Tdx |
'image/wmf' |
Tdx |
'image/svg+xml' |
See Also