DestinationFormat Property

ColorConvertedBitmap::DestinationFormat Property

 

Gets or sets a value that represents the PixelFormat of the converted bitmap.

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

public:
property PixelFormat DestinationFormat {
	PixelFormat get();
	void set(PixelFormat value);
}

Property Value

Type: System.Windows.Media::PixelFormat

An instance of PixelFormat.

When you make property changes to a ColorConvertedBitmap, the changes must be done within a BeginInit and EndInit block.

Identifier field

DestinationFormatProperty

Metadata properties set to true

None

The following example shows how to set the value of the DestinationFormat property.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 3.0
Return to top
Show:
© 2016 Microsoft