Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.8.30
|
Leadtools.Codecs Namespace > RasterCodecs Class : GetExtension Method |
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 )
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.