BitmapSource.Format BitmapSource.Format BitmapSource.Format BitmapSource.Format Property

Definition

Gets the native PixelFormat of the bitmap data.

public:
 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.

Remarks

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

Applies to

See also