C# Класс System.Windows.Media.Imaging.WriteableBitmapMediaLibraryExtensions

WriteableBitmap extension for WP7 media library
Показать файл Открыть проект

Открытые методы

Метод Описание
SaveToMediaLibrary ( this bitmap, string name ) : void

Saves the WriteableBitmap encoded as JPEG to the Media library using the best quality of 100.

SaveToMediaLibrary ( this bitmap, string name, int quality ) : void

Saves the WriteableBitmap encoded as JPEG to the Media library.

Описание методов

SaveToMediaLibrary() публичный статический Метод

Saves the WriteableBitmap encoded as JPEG to the Media library using the best quality of 100.
public static SaveToMediaLibrary ( this bitmap, string name ) : void
bitmap this The WriteableBitmap to save.
name string The name of the destination file.
Результат void

SaveToMediaLibrary() публичный статический Метод

Saves the WriteableBitmap encoded as JPEG to the Media library.
public static SaveToMediaLibrary ( this bitmap, string name, int quality ) : void
bitmap this The WriteableBitmap to save.
name string The name of the destination file.
quality int The quality for JPEG encoding in the range 0-100, where 100 is best quality size.
Результат void