LcdValueUnitDisplay.DisplayValue(String, String) Method
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.
Display the given value/unit pair. The value must be pre-formatted with the required number of digits, ie. "2.01". The value should only contain one of ".", ":" or ",", or the printed result may be unexpected.
public void DisplayValue (string formattedValue, string unitText = "");
member this.DisplayValue : string * string -> unit
Public Sub DisplayValue (formattedValue As String, Optional unitText As String = "")
Parameters
- formattedValue
- String
Pre-formatted value to print
- unitText
- String
Unit or name of value. This is printed in normal small font on the bottom right corner of the display.