CodeCarvings.Piczard
GetImageFormatIdFromFileExtension Method
See Also  Send Feedback
CodeCarvings.Piczard.Plugins Namespace > IImageArchiverPlugin Interface : GetImageFormatIdFromFileExtension Method

fileExtension
The file extension (e.g. ".jpg").
Gets the image format associated with a particular file extension.

Syntax

Visual Basic (Declaration)  
Function GetImageFormatIdFromFileExtension( _
   ByVal fileExtension As String _
) As PluginOperationResult(Of Guid)
C#  
PluginOperationResult<Guid> GetImageFormatIdFromFileExtension( 
   string fileExtension
)

Parameters

fileExtension
The file extension (e.g. ".jpg").

Return Value

PluginOperationResult<Guid> that indicates if the Plugin has handled the request.
In case of success (Handled=true) the Value property contains the Guid of the image format associated with the file extension.

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.