BitmapFrame.Create Method (BitmapSource, BitmapSource)

Creates a new BitmapFrame from a given BitmapSource with the specified thumbnail.

Namespace:  System.Windows.Media.Imaging
Assembly:  PresentationCore (in PresentationCore.dll)

'Declaration
Public Shared Function Create ( _
	source As BitmapSource, _
	thumbnail As BitmapSource _
) As BitmapFrame

Parameters

source
Type: System.Windows.Media.Imaging.BitmapSource

The source from which the BitmapFrame is constructed.

thumbnail
Type: System.Windows.Media.Imaging.BitmapSource

A thumbnail image of the resulting BitmapFrame.

Return Value

Type: System.Windows.Media.Imaging.BitmapFrame
A BitmapFrame from a given BitmapSource with the specified thumbnail.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft