Marblecore Imaging Library Documentation

Documentation Introduction
Documentation / Marblecore Imaging / Methods / GetFileExtensionFromFormat

GetFileExtensionFromFormat method

Returns the suggested file extension for the specified format.

Syntax

String GetFileExtensionFromFormat(nFormat As Format)

Return value

Returns a string containing the file extension.

Parameters

ParameterTypeRequiredDescription
nFormatFormat (Enumeration)NoOptional parameter which specifies the format. If no format is supplied, the current image format will be used.

Category

File properties

See also

GetFileExtensionFromFile | GetFileFolderFromFile | GetFileFromFormat | GetFileNameFromFile | GetFileWithoutFolderFromFile