Screen.BitsPerPixel 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 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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.