Edit

Share via


LcdValueUnitDisplay.DisplayValue(String, String) Method

Definition

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.

Applies to