Class ImageSourceExtensions
Extensions for creating image source from BitmapSource.
Inheritance
System.Object
ImageSourceExtensions
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Telerik.Windows.Documents.Fixed.Model.Extensions
Assembly: Telerik.Windows.Documents.Fixed.dll
Syntax
public static class ImageSourceExtensions
Methods
ToImageSource(BitmapSource)
Creates ImageSource form the BitmapSource
Declaration
public static ImageSource ToImageSource(this BitmapSource bitmapSource)
Parameters
System.Windows.Media.Imaging.BitmapSource
bitmapSource
The bitmap source. |
Returns
ImageSource
The ImageSource |
ToImageSource(BitmapSource, ImageQuality)
Creates ImageSource form the BitmapSource
Declaration
public static ImageSource ToImageSource(this BitmapSource bitmapSource, ImageQuality imageQuality)
Parameters
System.Windows.Media.Imaging.BitmapSource
bitmapSource
The bitmap source. |
ImageQuality
imageQuality
The image quality. |
Returns
ImageSource
The ImageSource |