Screen.BitsPerPixel 屬性

定義

取得記憶體的位元數 (與資料的單一像素有關)。

public:
 property int BitsPerPixel { int get(); };
public int BitsPerPixel { get; }
member this.BitsPerPixel : int
Public ReadOnly Property BitsPerPixel As Integer

屬性值

與一個圖元資料相關聯的記憶體位數目。

備註

一般而言,使用點陣圖時,螢幕每圖元的位數很有用。 如需點陣圖的詳細資訊,請參閱 點陣圖的類型

適用於