BitmapSource.Format Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Berkolaborasi dengan kami di GitHub
Sumber untuk konten ini dapat ditemukan di GitHub, yang juga dapat Anda gunakan untuk membuat dan meninjau masalah dan menarik permintaan. Untuk informasi selengkapnya, lihat panduan kontributor kami.