BitmapSource.Format Property


Gets the native PixelFormat of the bitmap data.

 virtual property System::Windows::Media::PixelFormat Format { System::Windows::Media::PixelFormat get(); };
public virtual System.Windows.Media.PixelFormat Format { get; }
member this.Format : System.Windows.Media.PixelFormat
Public Overridable ReadOnly Property Format As PixelFormat

Property Value

The pixel format of the bitmap data.


If the BitmapSource is directly readable, this is the format that the pixels will be in when they are read.

Applies to

See also