BitsPerPixel Property

Screen.BitsPerPixel Property

 

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

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

Public ReadOnly Property BitsPerPixel As Integer

Property Value

Type: System.Int32

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

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.

.NET Framework
Available since 2.0
Return to top
Show:
© 2016 Microsoft