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

imageFormatId
The Guid that identifies the image format.
The Guid that uniquely identify the image format.
Gets a FormatEncoderParams object able to handle a particular image format.
Initializes a new instance of the FormatEncoderParams class.

Syntax

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

Parameters

imageFormatId
The Guid that identifies the image format.
The Guid that uniquely identify the image format.

Return Value

An instance of a specific FormatEncoderParams class if it's available (e.g. JpegFormatEncoderParams for the Jpeg format); otherwise an instance of the GenericFormatEncoderParams class.
An instance of a specific FormatEncoderParams class if it's available (e.g. JpegFormatEncoderParams for the Jpeg format); otherwise an instance of the GenericFormatEncoderParams class.

Remarks

For details about the image format id please see FormatEncoderParams.ImageFormatId

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.