WpfConverterAtalaToWpfPixelFormat Method |
Converts an Atalasoft.Imaging.PixelFormat to a
System.Windows.Media.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 AtalaToWpfPixelFormat(
PixelFormat atalaFormat
)
Public Shared Function AtalaToWpfPixelFormat (
atalaFormat As PixelFormat
) As PixelFormat
Parameters
- atalaFormat
- Type: Atalasoft.ImagingPixelFormat
The Atalasoft.Imaging.PixelFormat to convert.
Return Value
Type:
PixelFormat The equivalent System.Windows.Media.PixelFormat.
Exceptions| Exception | Condition |
|---|
| Thrown if there is no equivalent format. |
See Also