WpfObjectConverterConvertAnnotationImage Method (BitmapSource) |
Converts a System.Windows.Media.Imaging.BitmapSource to an AnnotationImage.
Namespace:
Atalasoft.Annotate.Wpf
Assembly:
Atalasoft.dotImage.Wpf (in Atalasoft.dotImage.Wpf.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax public static AnnotationImage ConvertAnnotationImage(
BitmapSource image
)
Public Shared Function ConvertAnnotationImage (
image As BitmapSource
) As AnnotationImage
Parameters
- image
- Type: System.Windows.Media.ImagingBitmapSource
The System.Windows.Media.Imaging.BitmapSource to convert.
Return Value
Type:
AnnotationImageAn AnnotationImage for the BitmapSource.
See Also