Share via


DisplaySettings.BitsPerPixel Property

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Gets the color depth of the display in bits.

Namespace:  Microsoft.VisualStudio.TraceLog
Assembly:  Microsoft.VisualStudio.TraceLog (in Microsoft.VisualStudio.TraceLog.dll)

Syntax

'Declaration
Public Property BitsPerPixel As Integer
    Get
    Set
'Usage
Dim instance As DisplaySettings
Dim value As Integer

value = instance.BitsPerPixel

instance.BitsPerPixel = value
public int BitsPerPixel { get; set; }
public:
property int BitsPerPixel {
    int get ();
    void set (int value);
}
member BitsPerPixel : int with get, set
function get BitsPerPixel () : int
function set BitsPerPixel (value : int)

Property Value

Type: System.Int32

.NET Framework Security

See Also

Reference

DisplaySettings Structure

DisplaySettings Members

Microsoft.VisualStudio.TraceLog Namespace