ImageExtensionsGetFileExtension(ImageFormat) Method |
Gets the file extension (lower case letters with a preceding dot, like .jpg) corresponding to the image format.
Namespace: Altaxo.DrawingAssembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax public static string GetFileExtension(
this ImageFormat imageFormat
)
Parameters
- imageFormat ImageFormat
- The image format.
Return Value
StringThe file extension (lower case letters with a preceding dot, like .jpg) corresponding to the image format.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
ImageFormat. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
Exceptions See Also