Gets or sets the value of the contrast property.
Namespace:
PhidgetsAssembly: Phidget21.NET (in Phidget21.NET.dll) Version: 2.1.9.34
Syntax
C# |
---|
public int Contrast { get; set; } |
Visual Basic (Declaration) |
---|
Public Property Contrast As Integer |
Visual C++ |
---|
public: property int Contrast { int get (); void set (int value); } |
Remarks
This is the contrast of the entire display. The valid range is 0-255. Changing the contrast can increase the readability of
the display in certain viewing situation, such as at an odd angle.
Exceptions
Exception | Condition |
---|---|
Phidgets..::.PhidgetException | If this Phidget is not opened and attached, or the contrast value is out of range. |