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
Bekerjasama dengan kami di GitHub
Sumber untuk kandungan ini boleh didapati di GitHub, di mana anda juga boleh mencipta dan menyemak isu dan menarik permintaan. Untuk maklumat lanjut, lihat panduan penyumbang kami.