Files
docs-desktop/dotnet-desktop-guide/framework/wpf/graphics-multimedia/how-to-create-a-new-bitmapsource.md
T
Andy De George da363692ff Initial WPF content migrated (#17)
* Reset branch for WPF changes

* Convert BMP to PNG; fix link-out-of-scope err

* Add snippets for WPF... 6794 files!!!!

* Add missing snippets

* update file updated between migration

* Fix paths to include

* update breadcrumb and toc

* fix index links

* fix index links

* fix index links

* fix markdown
2020-09-04 09:46:28 -07:00

1018 B

title, ms.date, dev_langs, helpviewer_keywords, ms.assetid
title ms.date dev_langs helpviewer_keywords ms.assetid
How to: Create a new BitmapSource 03/30/2017
csharp
vb
creating new BitmapSource objects [WPF]
BitmapSource objects [WPF], creating
0adf447e-014f-4ceb-97b2-f21affe6d55b

How to: Create a new BitmapSource

This example demonstrates how to use the xref:System.Windows.Media.Imaging.BitmapSource.Create%2A method of xref:System.Windows.Media.Imaging.BitmapSource to create a new xref:System.Windows.Media.Imaging.BitmapSource object.

Example

[!code-csharpImagingSnippetGallery_procedural_snip#BitmapSourceCreate] [!code-vbImagingSnippetGallery_procedural_snip#BitmapSourceCreate]

See also