C# Class WinRTXamlToolkit.Imaging.BitmapImageLoadExtensions

Extension and helper methods for loading a BitmapImage.
Afficher le fichier Open project: xyzzer/WinRTXamlToolkit

Méthodes publiques

Méthode Description
LoadAsync ( StorageFile file ) : Task

Loads a BitmapImage asynchronously given a specific file.

LoadAsync ( StorageFolder folder, string fileName ) : Task

Loads a BitmapImage asynchronously given a specific folder and file name.

LoadFromBase64StringAsync ( string img ) : Task

Loads a BitmapImage from a Base64-encoded string.

LoadFromBase64StringAsync ( this bitmap, string img ) : Task

Loads a BitmapImage from a Base64 encoded string.

SetSourceAsync ( this bitmap, StorageFile file ) : Task

Sets the source image for a BitmapImage by opening a given file and processing the result asynchronously.

Method Details

LoadAsync() public static méthode

Loads a BitmapImage asynchronously given a specific file.
public static LoadAsync ( StorageFile file ) : Task
file Windows.Storage.StorageFile The file.
Résultat Task

LoadAsync() public static méthode

Loads a BitmapImage asynchronously given a specific folder and file name.
public static LoadAsync ( StorageFolder folder, string fileName ) : Task
folder Windows.Storage.StorageFolder The folder.
fileName string Name of the file.
Résultat Task

LoadFromBase64StringAsync() public static méthode

Loads a BitmapImage from a Base64-encoded string.
public static LoadFromBase64StringAsync ( string img ) : Task
img string The Base64-encoded image string.
Résultat Task

LoadFromBase64StringAsync() public static méthode

Loads a BitmapImage from a Base64 encoded string.
public static LoadFromBase64StringAsync ( this bitmap, string img ) : Task
bitmap this The bitmap into which the image will be loaded.
img string The Base64-encoded image string.
Résultat Task

SetSourceAsync() public static méthode

Sets the source image for a BitmapImage by opening a given file and processing the result asynchronously.
public static SetSourceAsync ( this bitmap, StorageFile file ) : Task
bitmap this The bitmap.
file Windows.Storage.StorageFile The file.
Résultat Task