Show / Hide Table of Contents

Class BitmapSourceExtensions

Contains extensions for the BitmapSource class.

Inheritance
object
BitmapSourceExtensions
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: TheXDS.MCART.Types.Extensions
Assembly: MCART.Wpf.Common.dll
Syntax
public static class BitmapSourceExtensions

Methods

| Edit this page View Source

ToImage(BitmapSource)

Converts a BitmapSource into a BitmapImage.

Declaration
public static BitmapImage ToImage(this BitmapSource bs)
Parameters
Type Name Description
BitmapSource bs

The BitmapSource to convert.

Returns
Type Description
BitmapImage

A BitmapImage that contains the image obtained from the specified BitmapSource.

  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX