C# Class System.Windows.Media.Imaging.BmpBitmapDecoder

Inheritance: System.Windows.Media.Imaging.BitmapDecoder
Exibir arquivo Open project: wjk/dotnet-wpf Class Usage Examples

Public Methods

Method Description
BmpBitmapDecoder ( Stream bitmapStream, BitmapCreateOptions createOptions, BitmapCacheOption cacheOption ) : System

If this decoder cannot handle the bitmap stream, it will throw an exception.

BmpBitmapDecoder ( Uri bitmapUri, BitmapCreateOptions createOptions, BitmapCacheOption cacheOption ) : System

Create a BmpBitmapDecoder given the Uri

Private Methods

Method Description
BmpBitmapDecoder ( ) : System

Don't allow construction of a decoder with no params

BmpBitmapDecoder ( SafeMILHandle decoderHandle, System.Windows.Media.Imaging.BitmapDecoder decoder, Uri baseUri, Uri uri, Stream stream, BitmapCreateOptions createOptions, BitmapCacheOption cacheOption, bool insertInDecoderCache, bool originalWritable, Stream uriStream, UnmanagedMemoryStream unmanagedMemoryStream, SafeFileHandle safeFilehandle ) : System

Internal Constructor

SealObject ( ) : void

Method Details

BmpBitmapDecoder() public method

If this decoder cannot handle the bitmap stream, it will throw an exception.
public BmpBitmapDecoder ( Stream bitmapStream, BitmapCreateOptions createOptions, BitmapCacheOption cacheOption ) : System
bitmapStream Stream Stream to decode
createOptions BitmapCreateOptions Bitmap Create Options
cacheOption BitmapCacheOption Bitmap Caching Option
return System

BmpBitmapDecoder() public method

Create a BmpBitmapDecoder given the Uri
public BmpBitmapDecoder ( Uri bitmapUri, BitmapCreateOptions createOptions, BitmapCacheOption cacheOption ) : System
bitmapUri Uri Uri to decode
createOptions BitmapCreateOptions Bitmap Create Options
cacheOption BitmapCacheOption Bitmap Caching Option
return System