Constructor ImageFormatMapping
ImageFormatMapping(ImageFormat, ImageFormat?)
Initializes a new instance of the ImageFormatMapping class with the specified source and result image formats. If resultFormat is null, sourceFormat will be used as the result format.
Declaration
public ImageFormatMapping(ImageFormat sourceFormat, ImageFormat? resultFormat = null)
Parameters
| Type | Name | Description |
|---|---|---|
| ImageFormat | sourceFormat | The source format to use. |
| ImageFormat | resultFormat | The result format to convert to, or null to keep the source format. |