WpfConverterWpfToAtalaPixelFormat Method |
Converts an System.Windows.Media.PixelFormat to a
Atalasoft.Imaging.PixelFormat equivalent.
Namespace:
Atalasoft.Imaging.Wpf
Assembly:
Atalasoft.dotImage.Wpf (in Atalasoft.dotImage.Wpf.dll) Version: 11.5.0.5.0.230 (.NET 4.6.2, x86)
Syntaxpublic static PixelFormat WpfToAtalaPixelFormat(
PixelFormat wpfFormat
)
Public Shared Function WpfToAtalaPixelFormat (
wpfFormat As PixelFormat
) As PixelFormat
Parameters
- wpfFormat
- Type: System.Windows.MediaPixelFormat
The System.Windows.Media.PixelFormat to convert.
Return Value
Type:
PixelFormat The equivalent Atalasoft.Imaging.PixelFormat.
Exceptions| Exception | Condition |
|---|
| Thrown if there is no equivalent format. |
See Also