FormatConvertedBitmap FormatConvertedBitmap FormatConvertedBitmap FormatConvertedBitmap Constructors

Definition

Overloads

FormatConvertedBitmap() FormatConvertedBitmap() FormatConvertedBitmap()

Initializes a new instance of the FormatConvertedBitmap class.

FormatConvertedBitmap(BitmapSource, PixelFormat, BitmapPalette, Double) FormatConvertedBitmap(BitmapSource, PixelFormat, BitmapPalette, Double) FormatConvertedBitmap(BitmapSource, PixelFormat, BitmapPalette, Double) FormatConvertedBitmap(BitmapSource, PixelFormat, BitmapPalette, Double)

Initializes a new instance of the FormatConvertedBitmap class that has the specified Source, DestinationFormat, DestinationPalette, and AlphaThreshold.

FormatConvertedBitmap() FormatConvertedBitmap() FormatConvertedBitmap()

Initializes a new instance of the FormatConvertedBitmap class.

public:
 FormatConvertedBitmap();
public FormatConvertedBitmap ();
Public Sub New ()

Remarks

FormatConvertedBitmap implements the ISupportInitialize interface to optimize initialization on multiple properties. To initialize a FormatConvertedBitmap created using this constructor, you must perform property initialization between BeginInit and EndInit calls.

FormatConvertedBitmap(BitmapSource, PixelFormat, BitmapPalette, Double) FormatConvertedBitmap(BitmapSource, PixelFormat, BitmapPalette, Double) FormatConvertedBitmap(BitmapSource, PixelFormat, BitmapPalette, Double) FormatConvertedBitmap(BitmapSource, PixelFormat, BitmapPalette, Double)

Initializes a new instance of the FormatConvertedBitmap class that has the specified Source, DestinationFormat, DestinationPalette, and AlphaThreshold.

public:
 FormatConvertedBitmap(System::Windows::Media::Imaging::BitmapSource ^ source, System::Windows::Media::PixelFormat destinationFormat, System::Windows::Media::Imaging::BitmapPalette ^ destinationPalette, double alphaThreshold);
public FormatConvertedBitmap (System.Windows.Media.Imaging.BitmapSource source, System.Windows.Media.PixelFormat destinationFormat, System.Windows.Media.Imaging.BitmapPalette destinationPalette, double alphaThreshold);
new System.Windows.Media.Imaging.FormatConvertedBitmap : System.Windows.Media.Imaging.BitmapSource * System.Windows.Media.PixelFormat * System.Windows.Media.Imaging.BitmapPalette * double -> System.Windows.Media.Imaging.FormatConvertedBitmap
Public Sub New (source As BitmapSource, destinationFormat As PixelFormat, destinationPalette As BitmapPalette, alphaThreshold As Double)

Parameters

destinationPalette
BitmapPalette BitmapPalette BitmapPalette BitmapPalette

The DestinationPalette of the new FormatConvertedBitmap instance if destinationFormat is an indexed format.

alphaThreshold
Double Double Double Double

The AlphaThreshold of the new FormatConvertedBitmap instance.

Remarks

FormatConvertedBitmap objects created using this constructor are automatically initialized. After initialization, property changes are ignored.

See also

Applies to