Gets the default file extension for the specified format.
public static string GetExtension(
RasterImageFormat format
)
Public Shared Function GetExtension( _
ByVal format As RasterImageFormat _
) As String
public:
static String^ GetExtension(
RasterImageFormat format
)
format
The format requested.
A string containing the file extension for the specified format (without the ".").
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.
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document