CodeCarvings.Piczard
GetFileExtensionFromImageFormatId Method
See Also  Send Feedback
CodeCarvings.Piczard Namespace > ImageArchiver Class : GetFileExtensionFromImageFormatId Method

imageFormatId
The Guid that identifies the image format.
Gets the default file extension associated with a particular image format.

Syntax

Visual Basic (Declaration)  
Public Shared Function GetFileExtensionFromImageFormatId( _
   ByVal imageFormatId As Guid _
) As String
C#  
public static string GetFileExtensionFromImageFormatId( 
   Guid imageFormatId
)

Parameters

imageFormatId
The Guid that identifies the image format.

Return Value

The default file extension (e.g. ".jpg") associated with the image format; null in case the image format is unknown.

Requirements

Platforms: Windows 8, Windows 7, Windows Vista, Windows XP Professional, Windows 2000 - Windows Server family: 2012, 2008.R2, 2008, 2003, 2000

See Also

©2013 Sergio Turolla. All Rights Reserved.