BitmapFrame.Create Method (Uri, BitmapCreateOptions, BitmapCacheOption)

 

Creates a BitmapFrame from a given Uri with the specified BitmapCreateOptions and BitmapCacheOption.

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

public static BitmapFrame Create(
	Uri bitmapUri,
	BitmapCreateOptions createOptions,
	BitmapCacheOption cacheOption
)

Parameters

bitmapUri
Type: System.Uri

The location of the bitmap from which the BitmapFrame is created.

createOptions
Type: System.Windows.Media.Imaging.BitmapCreateOptions

The options that are used to create this BitmapFrame.

cacheOption
Type: System.Windows.Media.Imaging.BitmapCacheOption

The cache option that is used to create this BitmapFrame.

Return Value

Type: System.Windows.Media.Imaging.BitmapFrame

A BitmapFrame from a given Uri with the specified BitmapCreateOptions, and BitmapCacheOption.

.NET Framework
Available since 3.0
Return to top
Show: