Screen.BitsPerPixel Property

Definition

Gets the number of bits of memory, associated with one pixel of data.

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

Property Value

The number of bits of memory, associated with one pixel of data

Remarks

Typically, the number of bits per pixel for a screen is useful when working with bitmaps. For more information about bitmaps, see Types of Bitmaps.

Applies to