Initializes a new instance of the FormatEncoderParams class.
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.
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