BitmapSource.Format 屬性

定義

取得點陣圖資料的原生 PixelFormatGets 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

屬性值

點陣圖資料的像素格式。The pixel format of the bitmap data.

備註

如果 BitmapSource 是可直接讀取的,這就是讀取時圖元會處於的格式。If the BitmapSource is directly readable, this is the format that the pixels will be in when they are read.

適用於

另請參閱