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

imageFormatId
The Guid that identifies the image format.
Gets an instance of the System.Drawing.Imaging.ImageCodecInfo class associated with an image format.

Syntax

Visual Basic (Declaration)  
Public Shared Function GetEncoderInfoFromImageFormat( _
   ByVal imageFormatId As Guid _
) As ImageCodecInfo
C#  
public static ImageCodecInfo GetEncoderInfoFromImageFormat( 
   Guid imageFormatId
)

Parameters

imageFormatId
The Guid that identifies the image format.

Return Value

An instance of the System.Drawing.Imaging.ImageCodecInfo class 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.