Error processing SSI file
LEADTOOLS Image File Support (Leadtools.Codecs assembly)

Show in webframe

GetExtension Method








The format requested.
Gets the default file extension for the specified format.
Syntax
public static string GetExtension( 
   RasterImageFormat format
)
'Declaration
 
Public Shared Function GetExtension( _
   ByVal format As RasterImageFormat _
) As String
'Usage
 
Dim format As RasterImageFormat
Dim value As String
 
value = RasterCodecs.GetExtension(format)
public static string GetExtension( 
   RasterImageFormat format
)
 function Leadtools.Codecs.RasterCodecs.GetExtension( 
   format 
)
public:
static String^ GetExtension( 
   RasterImageFormat format
) 

Parameters

format
The format requested.

Return Value

A string containing the file extension for the specified format (without the ".").
Remarks

This method will return the default file extension commonly used with file of types format. For example, JPEG files commonly have "jpg" extensions, Adobe PDF files commonly have "pdf" extensions and so forth.

This method returns an empty string for formats such as DICOM that do not have a common file extension.

Requirements

Target Platforms

See Also

Reference

RasterCodecs Class
RasterCodecs Members

Error processing SSI file